Method: Twterm::FilterQueryWindow#input

Defined in:
lib/twterm/filter_query_window.rb

#inputObject



10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/twterm/filter_query_window.rb', line 10

def input
  clear

  echo
  stdscr.setpos(stdscr.maxy - 1, 0)
  stdscr.addch '/'

  query = getstr.chomp
  noecho

  query || ''
end