Method: IGMarkets::CLI::CursesWindow#clear

Defined in:
lib/ig_markets/cli/curses_window.rb

#clearObject

Clears the contents of this curses window and resets the cursor to the top left.



16
17
18
19
# File 'lib/ig_markets/cli/curses_window.rb', line 16

def clear
  @window.clear
  @position = [0, 0]
end