Module: Ncurses::NCX
Instance Method Summary collapse
Instance Method Details
#COLS ⇒ Object
50 51 52 |
# File 'lib/ffi-ncurses/ncurses.rb', line 50 def COLS FFI::NCurses.getmaxx(FFI::NCurses.stdscr) end |
#has_colors? ⇒ Boolean
58 59 60 |
# File 'lib/ffi-ncurses/ncurses.rb', line 58 def has_colors? FFI::NCurses.has_colors end |
#LINES ⇒ Object
54 55 56 |
# File 'lib/ffi-ncurses/ncurses.rb', line 54 def LINES FFI::NCurses.getmaxy(FFI::NCurses.stdscr) end |