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