summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-11 10:04:27 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-11 10:04:27 +0000
commit64b5f39656f02a7c4cc6d5d4690c9b0ccc3f6c15 (patch)
tree8bed8b653ea30e3ff461250de53d37ab011b4fb2 /cmd.c
parent325e20d76d25685a3a7d9e5042928b2691c7bc8f (diff)
Add a pipe-pane command to allow a pane to be piped to a shell command, for
example: pipe-pane 'cat >~/out' No arguments stops outputing and closes the pipe; the -o flag toggles a pipe and on and off (useful for key bindings). Suggested by espie@.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd.c b/cmd.c
index d453c726..0fb1ff57 100644
--- a/cmd.c
+++ b/cmd.c
@@ -71,6 +71,7 @@ const struct cmd_entry *cmd_table[] = {
&cmd_next_layout_entry,
&cmd_next_window_entry,
&cmd_paste_buffer_entry,
+ &cmd_pipe_pane_entry,
&cmd_previous_layout_entry,
&cmd_previous_window_entry,
&cmd_refresh_client_entry,