mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/reline] Add TODO comment to implement tigetflag() and tigetnum()
https://github.com/ruby/reline/commit/a0d946a398
This commit is contained in:
parent
8fc98295cb
commit
b0633ee4b3
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ module Reline::Terminfo
|
|||
@tigetstr = Fiddle::Function.new(curses_dl['tigetstr'], [Fiddle::TYPE_VOIDP], Fiddle::TYPE_VOIDP)
|
||||
#extern 'char *tiparm(const char *str, ...)'
|
||||
@tiparm = Fiddle::Function.new(curses_dl['tiparm'], [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VARIADIC], Fiddle::TYPE_VOIDP)
|
||||
# TODO: add int tigetflag(char *capname) and int tigetnum(char *capname)
|
||||
|
||||
def self.setupterm(term, fildes)
|
||||
errret_int = String.new("\x00" * 8, encoding: 'ASCII-8BIT')
|
||||
|
|
Loading…
Reference in a new issue