Returns a new instance of Window.
38 39 40 41 42 43
# File 'lib/intent/ui/ttyui.rb', line 38 def initialize @width = TTY::Screen.width @height = TTY::Screen.height-1 @panels = [Panel.new(0, 0, @width, @height)] @cursor = TTY::Cursor end