aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2022-03-24 09:05:57 +0000
committernicm <nicm>2022-03-24 09:05:57 +0000
commit792d13af49f2550a9a8d11b0099528628957a1a0 (patch)
tree055dafc23a9ceb88e92a34ac67ad7cb70c7aca7b /tmux.h
parent6a1706a62fb2442326cd37d84ff8b0d39bf0b7a6 (diff)
downloadrtmux-792d13af49f2550a9a8d11b0099528628957a1a0.tar.gz
rtmux-792d13af49f2550a9a8d11b0099528628957a1a0.tar.bz2
rtmux-792d13af49f2550a9a8d11b0099528628957a1a0.zip
Add a capability for OSC 7 and use it similarly to how the title is set
(and controlled by the same set-titles option). GitHub issue 3127.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 66a264f1..3bde14a2 100644
--- a/tmux.h
+++ b/tmux.h
@@ -539,6 +539,7 @@ enum tty_code_code {
TTYC_SMULX,
TTYC_SMXX,
TTYC_SS,
+ TTYC_SWD,
TTYC_SYNC,
TTYC_TC,
TTYC_TSL,
@@ -1708,6 +1709,7 @@ struct client {
struct format_job_tree *jobs;
char *title;
+ char *path;
const char *cwd;
char *term_name;
@@ -2258,6 +2260,7 @@ void tty_start_tty(struct tty *);
void tty_send_requests(struct tty *);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);
+void tty_set_path(struct tty *, const char *);
void tty_update_mode(struct tty *, int, struct screen *);
void tty_draw_line(struct tty *, struct screen *, u_int, u_int, u_int,
u_int, u_int, const struct grid_cell *, struct colour_palette *);