aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-12 00:35:08 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-12 00:35:08 +0000
commit6091b051fbf0a19ee9108b235b37265461727a41 (patch)
tree2d157d7642e44d890ea612e8c33ce9c2e7c5904d /cmd.c
parenta053aeddf89094080bb6744795d2539f7063a05f (diff)
downloadrtmux-6091b051fbf0a19ee9108b235b37265461727a41.tar.gz
rtmux-6091b051fbf0a19ee9108b235b37265461727a41.tar.bz2
rtmux-6091b051fbf0a19ee9108b235b37265461727a41.zip
Sync OpenBSD patchset 387:
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 3d970ee1..a97e64d7 100644
--- a/cmd.c
+++ b/cmd.c
@@ -1,4 +1,4 @@
-/* $Id: cmd.c,v 1.122 2009-10-12 00:08:12 tcunha Exp $ */
+/* $Id: cmd.c,v 1.123 2009-10-12 00:35:08 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -70,6 +70,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,