diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-03-19 23:30:37 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-03-19 23:30:37 +0000 |
commit | a0295b4c2f648c008b732f7981304ae6e2df322b (patch) | |
tree | 86aaf41669466ffc3454a4d324e7196af8dda284 /tmux.h | |
parent | 9bc44043a4e66d7c8edb525d32aeaa1824ddbd11 (diff) | |
download | rtmux-a0295b4c2f648c008b732f7981304ae6e2df322b.tar.gz rtmux-a0295b4c2f648c008b732f7981304ae6e2df322b.tar.bz2 rtmux-a0295b4c2f648c008b732f7981304ae6e2df322b.zip |
Sync OpenBSD patchset 866:
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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.611 2011-03-19 23:27:35 tcunha Exp $ */ +/* $Id: tmux.h,v 1.612 2011-03-19 23:30:37 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1422,6 +1422,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; @@ -1800,6 +1801,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); |