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
151 152 153 |
# File 'lib/canis/core/system/ncurses.rb', line 151 def _stdscr FFI::NCurses.stdscr end |
#COLORS ⇒ Object
# supposed to be picked up at runtime
146 147 148 |
# File 'lib/canis/core/system/ncurses.rb', line 146 def COLORS FFI::NCurses.COLORS end |
#COLS ⇒ Object
138 139 140 |
# File 'lib/canis/core/system/ncurses.rb', line 138 def COLS FFI::NCurses.getmaxx(FFI::NCurses.stdscr) end |
#LINES ⇒ Object
141 142 143 144 |
# File 'lib/canis/core/system/ncurses.rb', line 141 def LINES # #FFI::NCurses.getmaxy(FFI::NCurses.stdscr) FFI::NCurses.LINES end |