Method: Muby::InputWindow#go
- Defined in:
- lib/muby/inputwindow.rb
#go ⇒ Object
Start working!
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/muby/inputwindow.rb', line 34 def go # Ensure our size is calculable begin height width top left rescue Exception => e Ncurses.endwin raise "Unable to calculate input window geometry: #{e}\n\nCheck your config file (#{conf.loaded_rc_file}) for errors in 'conf.input_window_geometry!\n\n" end # Init all the default values @buffer = "" @cursorPosition = 0 @history = [] @historyPointer = nil @connection = nil @statusLine = "" = "" @recent_escape = [] @handle_mode = :append_buffer! resize! help unless conf.user_edited_config_file end |