mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Break the argument escaping code into a separate function and use it to
escape key bindings in list-keys. Also escape ~ and ; and $ properly.
This commit is contained in:
@ -663,7 +663,7 @@ cmd_parse_from_file(FILE *f, struct cmd_parse_input *pi)
|
||||
cmd_list_free(cmdlist);
|
||||
}
|
||||
|
||||
s = cmd_list_print(result);
|
||||
s = cmd_list_print(result, 0);
|
||||
log_debug("%s: %s", __func__, s);
|
||||
free(s);
|
||||
|
||||
|
Reference in New Issue
Block a user