Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
W_EDITBOX: Improve ESC handling behavior
This enables hitting ESC to: 1.) Clear the current text in the EditBox (if it has text) 2.) End editing mode (if the EditBox is empty) Thus, to quickly cancel out / close an in-game chat box that contains text, hit escape twice (once to clear, once to end editing mode). NOTE: There are unrelated issues with how the main menus handle widget & input processing (and the ESC key) that prevent this from working in the main menus (yet). But the in-game edit boxes, such as the in-game chatbox, can take advantage of this immediately.
- Loading branch information