mc/lib
Andrew Borodin 2ee620f74f Ticket #4292: fix redundant back slashes for autocomplete.
Steps to reproduce:

1. Create file owth a space in the name:
  touch "a b"
There should no other files with name begins with "a" in the directory.
2. Press Shift-F4 to open editor
3. Press Shift-F2 to display dialog window "Save as..."
4. Press Esc+Tab to fill an input line

Result:
a\ b will appear in the edit field.
If you attempt to save the file, the back slash will be in the filename.

Expected result:
no any extra back slashes in the file name.

Soution: escape only '?', '*', and '&' symbols as described in the
manual page (see a11995e12b).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2024-05-19 19:30:07 +03:00
..
event Update copyright years. 2024-01-01 09:46:17 +03:00
filehighlight Merge lib/strescape.h into lib/strutil.h. Rename functions. 2024-04-07 16:38:11 +03:00
mcconfig Update copyright years. 2024-01-01 09:46:17 +03:00
search Merge lib/strescape.h into lib/strutil.h. Rename functions. 2024-04-07 16:38:11 +03:00
skin Update copyright years. 2024-01-01 09:46:17 +03:00
strutil Merge lib/strescape.h into lib/strutil.h. Rename functions. 2024-04-07 16:38:11 +03:00
tty Update copyright years. 2024-01-01 09:46:17 +03:00
vfs Ticket #4535: change name of temporary drirectory. 2024-05-13 21:48:35 +03:00
widget Ticket #4292: fix redundant back slashes for autocomplete. 2024-05-19 19:30:07 +03:00
charsets.c (load_codepages_list_from_file): use g_ptr_array_new_full(). 2024-04-07 16:38:11 +03:00
charsets.h (str_convert_to_input): make inline. 2021-03-14 19:30:42 +03:00
event-types.h
event.h Use argument names in function declarations. 2021-06-20 15:14:56 +03:00
file-entry.h file_entry_t: rename members: 2023-08-04 21:04:54 +03:00
filehighlight.h Move definition of file_entry_t to separate file. 2023-03-19 20:34:23 +03:00
fileloc.h Rename FISH VFS to SHELL one. 2023-10-15 16:04:39 +03:00
fs.h
glibcompat.c hostname complition: refactoring: use GPtrArray. 2024-04-07 16:38:11 +03:00
glibcompat.h hostname complition: refactoring: use GPtrArray. 2024-04-07 16:38:11 +03:00
global.c Update copyright years. 2024-01-01 09:46:17 +03:00
global.h Move OS-specific stuff from lib/global.h to lib/unixcompat.h. 2024-04-07 16:38:11 +03:00
hook.c Update copyright years. 2024-01-01 09:46:17 +03:00
hook.h
keybind.c Update copyright years. 2024-01-01 09:46:17 +03:00
keybind.h Rename FISH VFS to SHELL one. 2023-10-15 16:04:39 +03:00
lock.c Clean up irrelevant comments. 2024-04-07 16:01:47 +03:00
lock.h
logging.c Update copyright years. 2024-01-01 09:46:17 +03:00
logging.h
Makefile.am Merge lib/utilunix.h into lib/util.h. 2024-04-07 16:38:11 +03:00
mcconfig.h (mc_config_history_get_recent_item): new API. 2023-11-06 21:06:15 +03:00
search.h Indentation. 2023-08-04 21:04:55 +03:00
serialize.c Update copyright years. 2024-01-01 09:46:17 +03:00
serialize.h lib/mcconfig: fix coding style; apply source file template. 2019-09-01 19:41:12 +03:00
shell.c Update copyright years. 2024-01-01 09:46:17 +03:00
shell.h Fix typos. 2020-12-31 16:26:46 +03:00
skin.h Ticket #4433: skins: add color for non-printable characters in editor. 2023-12-10 17:47:07 +03:00
stat-size.h Remove Cray support. 2020-10-13 16:34:55 +03:00
strutil.h Merge lib/strescape.h into lib/strutil.h. Rename functions. 2024-04-07 16:38:11 +03:00
timefmt.c Update copyright years. 2024-01-01 09:46:17 +03:00
timefmt.h Fix various typos in the source code (closes MidnightCommander/mc#177). 2023-01-28 21:38:05 +03:00
unixcompat.h Move OS-specific stuff from lib/global.h to lib/unixcompat.h. 2024-04-07 16:38:11 +03:00
util.c Update copyright years. 2024-01-01 09:46:17 +03:00
util.h Merge lib/utilunix.h into lib/util.h. 2024-04-07 16:38:11 +03:00
utilunix.c Merge lib/utilunix.h into lib/util.h. 2024-04-07 16:38:11 +03:00
widget.h Create WBackground widget. 2020-03-08 20:17:29 +03:00