module Ncurses::NCX

Constants

A_BOLD
A_NORMAL
A_REVERSE

this allows me to refer to them as Ncurses::A_REVERSE as is the case everywhere

A_STANDOUT
A_UNDERLINE
KEY_F1

Public Instance Methods

COLORS() click to toggle source

supposed to be picked up at runtime

# File lib/canis/core/system/ncurses.rb, line 146
def COLORS
  FFI::NCurses.COLORS
end
COLS() click to toggle source
# File lib/canis/core/system/ncurses.rb, line 138
def COLS
  FFI::NCurses.getmaxx(FFI::NCurses.stdscr)
end
LINES() click to toggle source
# File lib/canis/core/system/ncurses.rb, line 141
    def LINES
#      #FFI::NCurses.getmaxy(FFI::NCurses.stdscr)
      FFI::NCurses.LINES
    end
_stdscr() click to toggle source

jsut trying this so i can do Ncurses.stdscr.getmax

# File lib/canis/core/system/ncurses.rb, line 151
def _stdscr
  FFI::NCurses.stdscr
end