Gui: refactor text input module and fix debug on MacOS 12.3 (#1045)
* Gui: refactor text input module * Gui: simplify TextInput input processing * Gui: simplify TextInput consume flag processing * Fix debug with gdb broken by MacOS 12.3
This commit is contained in: