Module: Ncurses::NCX
Constant Summary collapse
- A_REVERSE =
this allows me to refer to them as Ncurses::A_REVERSE as is the case everywhere
FFI::NCurses::A_REVERSE
- A_STANDOUT =
FFI::NCurses::A_STANDOUT
- A_BOLD =
FFI::NCurses::A_BOLD
- A_UNDERLINE =
FFI::NCurses::A_UNDERLINE
- A_BLINK =
FFI::NCurses::A_BLINK
- A_NORMAL =
FFI::NCurses::A_NORMAL
- KEY_F1 =
FFI::NCurses::KEY_F1
Instance Method Summary collapse
-
#_stdscr ⇒ Object
jsut trying this so i can do Ncurses.stdscr.getmax.
-
#COLORS ⇒ Object
# supposed to be picked up at runtime.
- #COLS ⇒ Object
- #LINES ⇒ Object
Instance Method Details
#_stdscr ⇒ Object
jsut trying this so i can do Ncurses.stdscr.getmax
150 151 152 |
# File 'lib/rbcurse/core/system/ncurses.rb', line 150 def _stdscr FFI::NCurses.stdscr end |
#COLORS ⇒ Object
# supposed to be picked up at runtime
145 146 147 |
# File 'lib/rbcurse/core/system/ncurses.rb', line 145 def COLORS FFI::NCurses.COLORS end |
#COLS ⇒ Object
137 138 139 |
# File 'lib/rbcurse/core/system/ncurses.rb', line 137 def COLS FFI::NCurses.getmaxx(FFI::NCurses.stdscr) end |
#LINES ⇒ Object
140 141 142 143 |
# File 'lib/rbcurse/core/system/ncurses.rb', line 140 def LINES # #FFI::NCurses.getmaxy(FFI::NCurses.stdscr) FFI::NCurses.LINES end |