[PATCH 0/3] Minor nits in 1.8

2013-04-05 Thread Ben Boeckel
Minor nits I encountered when going over the history for zsh completion script. Ben Boeckel (3): Add wait-for command to tmux.vim Document -o flag to set-window-option in manpage Minor whitespace nits compat/getopt.c | 2 +- examples/tmux.vim | 2 +- layout-set.c | 2 +- tmux.1

[PATCH 3/3] Minor whitespace nits

2013-04-05 Thread Ben Boeckel
--- compat/getopt.c | 2 +- layout-set.c| 2 +- tmux.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compat/getopt.c b/compat/getopt.c index 38c317c..2a60b14 100644 --- a/compat/getopt.c +++ b/compat/getopt.c @@ -107,7 +107,7 @@ BSDgetopt(int nargc, char *cons

[PATCH 2/3] Document -o flag to set-window-option in manpage

2013-04-05 Thread Ben Boeckel
--- tmux.1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tmux.1 b/tmux.1 index 05dfac6..ea4fdad 100644 --- a/tmux.1 +++ b/tmux.1 @@ -2652,7 +2652,7 @@ The default is .Ql \ -_@ . .El .It Xo Ic set-window-option -.Op Fl agqu +.Op Fl agoqu .Op Fl t Ar target-window .Ar op

[PATCH 1/3] Add wait-for command to tmux.vim

2013-04-05 Thread Ben Boeckel
--- examples/tmux.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tmux.vim b/examples/tmux.vim index 076115c..e85f8ff 100644 --- a/examples/tmux.vim +++ b/examples/tmux.vim @@ -56,7 +56,7 @@ syn keyword tmuxCmds \ list-buffers loadb load-buffer pasteb paste

Re: display-message not displaying the correct values when using send-keys

2013-04-05 Thread Ashwin G
Adding a bit of delay using usleep between the commands (500ms), I seem to get the expected behavior. So it looks more like some sort of timing issue. On Fri, Apr 5, 2013 at 1:55 PM, Ashwin G wrote: > Thanks Thomas > > But using '#{session_name} #{window_index} #{window_name} #{pane_index}' > g

Re: display-message not displaying the correct values when using send-keys

2013-04-05 Thread Ashwin G
Thanks Thomas But using '#{session_name} #{window_index} #{window_name} #{pane_index}' gives the exact same behavior. On Fri, Apr 5, 2013 at 1:24 PM, Thomas Adam wrote: > Hi, > > The short-form formats aren't supported anymore. Use their longer > equivalents. > > Thomas Adam > On 5 Apr 2013 21

Re: display-message not displaying the correct values when using send-keys

2013-04-05 Thread Thomas Adam
Hi, The short-form formats aren't supported anymore. Use their longer equivalents. Thomas Adam On 5 Apr 2013 21:20, "Ashwin G" wrote: > If I start a new session in the background, and use send-keys to run > `display-message`, I seem to get incorrect values for #I, #W, and #P. > > For example th

display-message not displaying the correct values when using send-keys

2013-04-05 Thread Ashwin G
If I start a new session in the background, and use send-keys to run `display-message`, I seem to get incorrect values for #I, #W, and #P. For example the following sample set of commands: session_name="TEST" # Window 0tmux new-session -d -s "$session_name" -n "Window_0"tmux send-keys -t "$sessio