summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2019-05-03 20:44:24 +0000
committernicm <nicm>2019-05-03 20:44:24 +0000
commit9f75635596d0a01282156eb9e17fde6f4205c05c (patch)
treec2992361a46c5ed7a17c2f273d3e8aba5bc16480 /tmux.h
parente8e4f4ec3e4de0bd0e4eb2a7ee995fb6f5f7f937 (diff)
Allow panes to be empty (no command), output can be piped to them with
split-window or display-message -I.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e8d03c4b..31b03180 100644
--- a/tmux.h
+++ b/tmux.h
@@ -522,6 +522,7 @@ struct msg_stderr_data {
#define MODE_FOCUSON 0x800
#define MODE_MOUSE_ALL 0x1000
#define MODE_ORIGIN 0x2000
+#define MODE_CRLF 0x4000
#define ALL_MODES 0xffffff
#define ALL_MOUSE_MODES (MODE_MOUSE_STANDARD|MODE_MOUSE_BUTTON|MODE_MOUSE_ALL)
@@ -802,6 +803,7 @@ struct window_pane {
#define PANE_EXITED 0x100
#define PANE_STATUSREADY 0x200
#define PANE_STATUSDRAWN 0x400
+#define PANE_EMPTY 0x800
int argc;
char **argv;
@@ -1598,6 +1600,7 @@ struct spawn_context {
#define SPAWN_BEFORE 0x8
#define SPAWN_NONOTIFY 0x10
#define SPAWN_FULLSIZE 0x20
+#define SPAWN_EMPTY 0x40
};
/* tmux.c */
@@ -2317,6 +2320,8 @@ void window_add_ref(struct window *, const char *);
void window_remove_ref(struct window *, const char *);
void winlink_clear_flags(struct winlink *);
int winlink_shuffle_up(struct session *, struct winlink *);
+int window_pane_start_input(struct window_pane *,
+ struct cmdq_item *, char **);
/* layout.c */
u_int layout_count_cells(struct layout_cell *);