зеркало из https://github.com/github/ruby.git
[ruby/reline] Add TODO comment to implement tigetflag() and tigetnum()
https://github.com/ruby/reline/commit/a0d946a398
This commit is contained in:
Родитель
8fc98295cb
Коммит
b0633ee4b3
|
@ -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')
|
||||
|
|
Загрузка…
Ссылка в новой задаче