Re: [PATCH v21 0/1] MR7843: cmd: Implement tab completion for command line entry.
eric pouech (@epo) commented about programs/cmd/lineedit.c:
+ + FindInsertPos(inputBuffer, curPos, &sc); + } + + /* Copy search results to input buffer. */ + UpdateInputBuffer(inputBuffer, inputBufferLength, &sc); + + /* Update cursor position to end of buffer. */ + curPos = lstrlenW(inputBuffer); + if (curPos > maxLen) { + maxLen = curPos; + } + } + break; + + case L'\x1B': /* ESC */ looks at that question, and you're right... ReadConsole needs to handle ESC. I'll send a patch later on, so can drop ESC handling from your patch
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7843#note_101934
participants (1)
-
eric pouech (@epo)