1
0
Fork 0
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:
aycabta 2021-06-25 20:01:02 +09:00
parent 8fc98295cb
commit b0633ee4b3

View file

@ -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')