aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-02-03 13:46:27 +0000
committernicm <nicm>2020-02-03 13:46:27 +0000
commit265164d251f427bf9275c355a4f205c781d70b20 (patch)
tree9ddc4dee575a2d99de8347a5407dcc9a45d4b305 /tmux.h
parent87bcc0c7e0fa0aded9a05093caaf22f3a080753d (diff)
downloadrtmux-265164d251f427bf9275c355a4f205c781d70b20.tar.gz
rtmux-265164d251f427bf9275c355a4f205c781d70b20.tar.bz2
rtmux-265164d251f427bf9275c355a4f205c781d70b20.zip
Instead of passing titles through vis() which doubles backslashes, just
ignore any containing control characters or invalid UTF-8. GitHub issue 2070.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 418f0a44..bc4b0d6c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2424,7 +2424,7 @@ void screen_free(struct screen *);
void screen_reset_tabs(struct screen *);
void screen_set_cursor_style(struct screen *, u_int);
void screen_set_cursor_colour(struct screen *, const char *);
-void screen_set_title(struct screen *, const char *);
+int screen_set_title(struct screen *, const char *);
void screen_set_path(struct screen *, const char *);
void screen_push_title(struct screen *);
void screen_pop_title(struct screen *);