aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-04-13 16:19:37 +0000
committernicm <nicm>2020-04-13 16:19:37 +0000
commit34804f2709a16dca45dc072fb53d03f79db61e51 (patch)
treef48af448b3e6ed6b91207a828b7603e0f407ef48 /tmux.h
parent3f86d6d46014ca55e42cecd570d7f269b1d386b3 (diff)
downloadrtmux-34804f2709a16dca45dc072fb53d03f79db61e51.tar.gz
rtmux-34804f2709a16dca45dc072fb53d03f79db61e51.tar.bz2
rtmux-34804f2709a16dca45dc072fb53d03f79db61e51.zip
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).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 74b16c89..c1b91f93 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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;