Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
W_EDITBOX: Improve ESC handling behavior #294
This enables hitting ESC to:
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.
I have a patch to fix Escape key processing for the "Challenges" screen.