Module: Ncurses::NCX

Included in:
Ncurses, Ncurses
Defined in:
lib/ver/ncurses.rb

Constant Summary

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



140
141
142
# File 'lib/ver/ncurses.rb', line 140

def _stdscr
  FFI::NCurses.stdscr
end

#COLORSObject

# supposed to be picked up at runtime



135
136
137
# File 'lib/ver/ncurses.rb', line 135

def COLORS
  FFI::NCurses.COLORS
end

#COLSObject



127
128
129
# File 'lib/ver/ncurses.rb', line 127

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

#LINESObject



130
131
132
133
# File 'lib/ver/ncurses.rb', line 130

def LINES
#      #FFI::NCurses.getmaxy(FFI::NCurses.stdscr)
  FFI::NCurses.LINES
end