mirror of
https://github.com/tmux/tmux.git
synced 2026-06-21 01:35:23 +00:00
Be more strict about what names and titles we allow and reject them
immediately when possible, but allow # again for those directly set by commands (but not escape sequences). From Barrett Ruth in GitHub issue 5175.
This commit is contained in:
@@ -191,8 +191,9 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item)
|
||||
options_set_number(new_wp->options, "remain-on-exit", 3);
|
||||
if (args_has(args, 'm'))
|
||||
options_set_string(new_wp->options,
|
||||
"remain-on-exit-format",
|
||||
0, "%s", args_get(args, 'm'));
|
||||
"remain-on-exit-format", 0, "%s",
|
||||
args_get(args, 'm'));
|
||||
}
|
||||
}
|
||||
|
||||
if (input) {
|
||||
|
||||
Reference in New Issue
Block a user