diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-01-20 19:15:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-01-20 19:15:40 +0000 |
commit | dcad13155b319e1ca2fafd3f0644e8efb15ac764 (patch) | |
tree | baf88d9f1e884488aebefb0836751f2d1aec04b6 /input.c | |
parent | e6519d3e279ba12d44633c3162dd183148aea9f0 (diff) | |
download | rtmux-dcad13155b319e1ca2fafd3f0644e8efb15ac764.tar.gz rtmux-dcad13155b319e1ca2fafd3f0644e8efb15ac764.tar.bz2 rtmux-dcad13155b319e1ca2fafd3f0644e8efb15ac764.zip |
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); |