Method: PPCurses::Window#initialize

Defined in:
lib/ppcurses/window/pp_window.rb

#initialize(height, width, top, left) ⇒ Window

TODO - use optional parameters. A rect or a Curses window to wrap.



6
7
8
9
10
11
12
13
# File 'lib/ppcurses/window/pp_window.rb', line 6

def initialize(height, width, top, left)
  super(height,width,top,left)

  # Enables reading arrow keys in getch
  keypad(true)

  box('|', '-')
end