use esc-^C for exiting and ^L for redrawing