Method: HandyToolbox::Screen#draw

Defined in:
lib/handy_toolbox/screen.rb

#drawObject



32
33
34
35
36
37
# File 'lib/handy_toolbox/screen.rb', line 32

def draw
  @max_y = 0
  yield
  @scroll.update(@max_y)
  Curses.refresh
end