Make Ctrl+Backspace clear input text.

This commit is contained in:
Tamas Turu 2024-03-28 14:01:43 +01:00
parent 4ee2b3ecc7
commit 202620ef2a
1 changed files with 1 additions and 0 deletions

View File

@ -280,6 +280,7 @@ int main(int argc, char** argv)
case TB_KEY_CTRL_C: case TB_KEY_CTRL_C:
run = false; run = false;
break; break;
case TB_KEY_CTRL_H: // equivalent to ctrl+backspace
case TB_KEY_CTRL_U: case TB_KEY_CTRL_U:
if (active_input > 0) if (active_input > 0)
{ {