Should this display text onto the curses's screen?

I am trying to get a minimal working example of a curses display, so that I can determine whether or not curses is working.

import curses
import curses.textpad

stdscr = curses.initscr()
stdscr.border()
stdscr.addstr(10,10, "test")
stdscr.refresh()

c = stdscr.getch()

curses.endwin()

Will this small example write "test" to the screen, and wait for user input?