When parsing strings, put all commands in one group even if there are

newlines. This means that for example bind q { a \n b } and bind q "a ;
b" are the same. Also log commands in different groups separated by ;;
rather than ; (a command list like this should never be user visible).
This commit is contained in:
nicm
2020-04-13 16:19:37 +00:00
parent 3f86d6d460
commit 34804f2709
3 changed files with 35 additions and 10 deletions

1
tmux.h
View File

@ -1370,6 +1370,7 @@ struct cmd_parse_input {
#define CMD_PARSE_PARSEONLY 0x2
#define CMD_PARSE_NOALIAS 0x4
#define CMD_PARSE_VERBOSE 0x8
#define CMD_PARSE_ONEGROUP 0x10
const char *file;
u_int line;