Add: Basic autocompletion on tab for console commands (#12163)

This commit is contained in:
Ivan Fefer
2024-03-13 21:43:08 +01:00
committed by GitHub
parent 24efdf6ac5
commit 23d733be95
9 changed files with 250 additions and 148 deletions

View File

@@ -789,7 +789,12 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel
case QZ_LEFT: SB(_dirkeys, 0, 1, down); break;
case QZ_RIGHT: SB(_dirkeys, 2, 1, down); break;
case QZ_TAB: _tab_is_down = down; break;
case QZ_TAB:
_tab_is_down = down;
if (down && EditBoxInGlobalFocus()) {
HandleKeypress(WKC_TAB, unicode);
}
break;
case QZ_RETURN:
case QZ_f: