Re: [PATCH v43 0/1] MR7843: cmd: Implement tab completion for command line entry.
18 May
2025
18 May
'25
10:03 a.m.
eric pouech (@epo) commented about programs/cmd/wcmdmain.c:
+ +static void set_cursor_visible(const HANDLE hOutput, const BOOL visible) +{ + CONSOLE_CURSOR_INFO cursorInfo; + + if (GetConsoleCursorInfo(hOutput, &cursorInfo)) { + cursorInfo.bVisible = visible; + SetConsoleCursorInfo(hOutput, &cursorInfo); + } +} + +static void build_search_string(WCHAR *inputBuffer, int len, SEARCH_CONTEXT *sc) +{ + int cc = 0, nn = 0; + WCHAR *param = NULL, *last_param, *stripped_copy = NULL; + WCHAR last_stripped_copy[MAX_PATH] = L"\0"; you likely want MAXSTRING here (native definitively works on strings longer than 260 chars)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7843#note_103750
291
Age (days ago)
291
Last active (days ago)
0 comments
1 participants
participants (1)
-
eric pouech (@epo)