Re: [PATCH v24 0/1] MR7843: cmd: Implement tab completion for command line entry.
On Sat Apr 26 15:12:32 2025 +0000, eric pouech wrote:
I think quote handling is not done as it should from what I see on native: quotes are added when generated word does contain characters that would need to be escaped (eg ' ', but didn't check all the others) need quote is an attribute of current filename (ie they are removed when the new (partial) matching file no longer needs them) ; so quotes shouldn't be part of the SEARCH_CONTEXT, but only used for display (basically: go to beg of word; if needs quotes, print quote; print (partial) word; print ending quotes (if needed) Paths need to be quoted if they are long file names or they contain spaces, hence the check for findData.cAlternateFileName.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7843#note_101949
participants (1)
-
Joe Souza (@JoeS209)