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@.
This commit is contained in:
Nicholas Marriott
2009-10-11 10:04:27 +00:00
parent 325e20d76d
commit 64b5f39656
7 changed files with 193 additions and 1 deletions

1
cmd.c
View File

@ -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,