- Fix strange chars when resizing the window
- Exit from edit prompts when pressing Esc