Method: PM::PromptWindow#read_string
- Defined in:
- lib/patchmaster/curses/prompt_window.rb
#read_string ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/patchmaster/curses/prompt_window.rb', line 43 def read_string nocbreak echo curs_set(1) str = nil @win.attron(A_REVERSE) { str = @win.getstr } curs_set(0) noecho cbreak str end |