Method: TermNote::Show#start

Defined in:
lib/termnote/show.rb

#startObject



30
31
32
33
34
35
36
# File 'lib/termnote/show.rb', line 30

def start
  @state = true
  while @state
    pane.call $stdout.winsize
    Key.send @command, self if Key::KEYS.include? capture_command
  end
end