![]() ![]() | ![]() |
version 1.46, 2017/02/08 16:45:18 | version 1.47, 2017/06/04 09:02:36 | ||
---|---|---|---|
|
|
||
#include <stdlib.h> | #include <stdlib.h> | ||
#include <string.h> | #include <string.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
#include <vis.h> | |||
#include "tmux.h" | #include "tmux.h" | ||
|
|
||
screen_set_title(struct screen *s, const char *title) | screen_set_title(struct screen *s, const char *title) | ||
{ | { | ||
free(s->title); | free(s->title); | ||
s->title = xstrdup(title); | utf8_stravis(&s->title, title, VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL); | ||
} | } | ||
/* Resize screen. */ | /* Resize screen. */ |