Module: Curses

Defined in:
lib/salticid/interface/ncurses.rb

Defined Under Namespace

Classes: Window

Class Method Summary collapse

Class Method Details

.dimensionsObject

Returns size of screen [y, x]



3
4
5
# File 'lib/salticid/interface/ncurses.rb', line 3

def self.dimensions
  [Curses.stdscr.maxy, Curses.stdscr.maxx]
end