aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2022-03-24 09:05:57 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 14:19:51 +0100
commit89a0046ad360d7a499732e327bae69b7e4b2536e (patch)
tree03ab2c55c4a70e18be56715ab86a9643690330b5 /tmux.h
parent60a0a904e007390b8fba484eea9461bf095bff7a (diff)
downloadrtmux-89a0046ad360d7a499732e327bae69b7e4b2536e.tar.gz
rtmux-89a0046ad360d7a499732e327bae69b7e4b2536e.tar.bz2
rtmux-89a0046ad360d7a499732e327bae69b7e4b2536e.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 e23ad3a1..370c7773 100644
--- a/tmux.h
+++ b/tmux.h
@@ -540,6 +540,7 @@ enum tty_code_code {
TTYC_SMULX,
TTYC_SMXX,
TTYC_SS,
+ TTYC_SWD,
TTYC_SYNC,
TTYC_TC,
TTYC_TSL,
@@ -1709,6 +1710,7 @@ struct client {
struct format_job_tree *jobs;
char *title;
+ char *path;
const char *cwd;
char *term_name;
@@ -2259,6 +2261,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 *);