mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Handle OSC 7 (a VTE extension) and put the result in a new format (pane_path).
This commit is contained in:
8
screen.c
8
screen.c
@ -159,6 +159,14 @@ screen_set_title(struct screen *s, const char *title)
|
||||
utf8_stravis(&s->title, title, VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL);
|
||||
}
|
||||
|
||||
/* Set screen path. */
|
||||
void
|
||||
screen_set_path(struct screen *s, const char *path)
|
||||
{
|
||||
free(s->path);
|
||||
utf8_stravis(&s->path, path, VIS_OCTAL|VIS_CSTYLE|VIS_TAB|VIS_NL);
|
||||
}
|
||||
|
||||
/* Push the current title onto the stack. */
|
||||
void
|
||||
screen_push_title(struct screen *s)
|
||||
|
Reference in New Issue
Block a user