Module: FFI::NCurses::FixupInitscr

Included in:
FFI::NCurses
Defined in:
lib/ffi-ncurses.rb

Overview

FIXME: remove this code when JRuby gets find_sym fixup for JRuby 1.1.6 - doesn’t have find_sym can hack for stdscr but not curscr or newscr (no methods return them) this will all be removed when JRuby 1.1.7 is released

Instance Method Summary collapse

Instance Method Details

#initscrObject



464
465
466
# File 'lib/ffi-ncurses.rb', line 464

def initscr
  @stdscr = NCurses._initscr
end

#stdscrObject



467
468
469
# File 'lib/ffi-ncurses.rb', line 467

def stdscr
  @stdscr
end