Re: [PATCH v21 0/1] MR7843: cmd: Implement tab completion for command line entry.
26 Apr
2025
26 Apr
'25
3:12 p.m.
eric pouech (@epo) commented about programs/cmd/lineedit.c:
+ csbi.dwCursorPosition.X = 0; /* First column in the row. */ + cCount -= chars; + } +} + +static void SetCursorVisible(const HANDLE hOutput, const BOOL visible) +{ + CONSOLE_CURSOR_INFO cursorInfo; + + if (GetConsoleCursorInfo(hOutput, &cursorInfo)) { + cursorInfo.bVisible = visible; + SetConsoleCursorInfo(hOutput, &cursorInfo); + } +} + +static void FindSearchPos(const WCHAR *inputBuffer, int len, PSEARCH_CONTEXT sc) same remark as above: please use WCMD_parameter to loop across words and determine which word contains current cursor positiion
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7843#note_101931
234
Age (days ago)
234
Last active (days ago)
0 comments
1 participants
participants (1)
-
eric pouech (@epo)