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