summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-03-07 23:46:27 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-03-07 23:46:27 +0000
commit79e30daeae1d49a1cf1dc4618edf1ec82804a80c (patch)
tree60ba3ed616a1c1d247a4af715dc27ef8a2d22e76 /tmux.h
parentd5ed5fb08ff83a2cc38292b3eb0addab21ce6282 (diff)
Support passing through escape sequences to the underlying terminal by
using DCS with a "tmux;" prefix. Escape characters in the sequences must be doubled. For example: $ printf '\033Ptmux;\033\033]12;red\007\033\\' Will pass \033]12;red\007 to the terminal (and change the cursor colour in xterm). From Kevin Goodsell.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 61022983..2e53a24a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1426,6 +1426,7 @@ void tty_cmd_insertline(struct tty *, const struct tty_ctx *);
void tty_cmd_linefeed(struct tty *, const struct tty_ctx *);
void tty_cmd_utf8character(struct tty *, const struct tty_ctx *);
void tty_cmd_reverseindex(struct tty *, const struct tty_ctx *);
+void tty_cmd_rawstring(struct tty *, const struct tty_ctx *);
/* tty-term.c */
extern struct tty_terms tty_terms;
@@ -1804,6 +1805,7 @@ void screen_write_clearstartofscreen(struct screen_write_ctx *);
void screen_write_clearscreen(struct screen_write_ctx *);
void screen_write_cell(struct screen_write_ctx *,
const struct grid_cell *, const struct utf8_data *);
+void screen_write_rawstring(struct screen_write_ctx *, u_char *, u_int);
/* screen-redraw.c */
void screen_redraw_screen(struct client *, int, int);