the keystrokes are followed by newline chars