title: How to input a word in ncurses screen?
body: <p>I was trying to use <code>raw_input()</code> function first, but find it in compatible with ncurses.<br>
  Then I tried <code>window.getch()</code> function, I can type and show characters on screen, but can't realize input. How can I input a word in <code>ncurses</code> and can use if statement to evaluate it?  </p>
  
  <p>For example, I wanna realize this in <code>ncurses</code>:</p>
  
  <pre><code>import ncurses
  stdscr = curses.initscr()
  
  # ???_input = "cool" # this is the missing input method I want to know
  if ???_input == "cool":
      stdscr.addstr(1,1,"Super cool!")
  stdscr.refresh()
  stdscr.getch()
  curses.endwin()
  </code></pre>