diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-06-18 13:16:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-06-18 13:16:42 +0000 |
commit | 2942eca8953561cef0764c1775666697ee032c34 (patch) | |
tree | 7189077d728a911a5f6e8dac6cfe88824d9dc8a5 /tmux.h | |
parent | 7c39850d1f55f101c42a2dd65664691927c459a1 (diff) | |
download | rtmux-2942eca8953561cef0764c1775666697ee032c34.tar.gz rtmux-2942eca8953561cef0764c1775666697ee032c34.tar.bz2 rtmux-2942eca8953561cef0764c1775666697ee032c34.zip |
Add a skeleton mode to tmux (called "control mode") that let's tmux
commands be sent and output received on stdout. This can be used to
integrate with other terminal emulators and should allow some other
things to be made simpler later. More to come so doesn't do much yet and
deliberately not documented.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -433,6 +433,8 @@ struct msg_identify_data { #define IDENTIFY_UTF8 0x1 #define IDENTIFY_256COLOURS 0x2 #define IDENTIFY_88COLOURS 0x4 +#define IDENTIFY_CONTROL 0x8 +#define IDENTIFY_TERMIOS 0x10 int flags; }; @@ -1232,6 +1234,7 @@ struct client { #define CLIENT_BORDERS 0x400 #define CLIENT_READONLY 0x800 #define CLIENT_REDRAWWINDOW 0x1000 +#define CLIENT_CONTROL 0x2000 int flags; struct event identify_timer; @@ -2131,6 +2134,9 @@ char *default_window_name(struct window *); void set_signals(void(*)(int, short, void *)); void clear_signals(int); +/* control.c */ +void control_callback(struct client *, int, void*); + /* session.c */ extern struct sessions sessions; extern struct sessions dead_sessions; |