Module: Ncurses::NCX

Included in:
Ncurses, Ncurses
Defined in:
lib/canis/core/system/ncurses.rb

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
FFI::NCurses::A_BLINK
A_NORMAL =
FFI::NCurses::A_NORMAL
KEY_F1 =
FFI::NCurses::KEY_F1

Instance Method Summary collapse

Instance Method Details

#_stdscrObject

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

#COLORSObject

# 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

#COLSObject



138
139
140
# File 'lib/canis/core/system/ncurses.rb', line 138

def COLS
  FFI::NCurses.getmaxx(FFI::NCurses.stdscr)
end

#LINESObject



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