diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-01-20 21:18:39 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-01-20 21:18:39 +0000 |
commit | d9eb34b28dd9b446118911df5d161b817632093b (patch) | |
tree | 01dcbef85da78fa3726cf62b9255be291e254960 /input.c | |
parent | b79189958fcf5b34e0f9c4316a9ff6110ac0a296 (diff) | |
download | rtmux-d9eb34b28dd9b446118911df5d161b817632093b.tar.gz rtmux-d9eb34b28dd9b446118911df5d161b817632093b.tar.bz2 rtmux-d9eb34b28dd9b446118911df5d161b817632093b.zip |
Sync OpenBSD patchset 999:
Add an option to disable the window rename escape sequence, from Romain
Francoise.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1558,6 +1558,8 @@ input_exit_rename(struct input_ctx *ictx) { if (ictx->flags & INPUT_DISCARD) return; + if (!options_get_number(&ictx->wp->window->options, "allow-rename")) + return; log_debug("%s: \"%s\"", __func__, ictx->input_buf); xfree(ictx->wp->window->name); |