Module: Ncurses::NCX

Included in:
Ncurses, Ncurses
Defined in:
lib/rbcurse/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



150
151
152
# File 'lib/rbcurse/core/system/ncurses.rb', line 150

def _stdscr
  FFI::NCurses.stdscr
end

#COLORSObject

# 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

#COLSObject



137
138
139
# File 'lib/rbcurse/core/system/ncurses.rb', line 137

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

#LINESObject



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