[colug-432] tmux escape codes

Chris Clonch chris at theclonchs.com
Fri May 17 10:26:41 EDT 2013


On 05/16/2013 04:50 PM, jep200404 at columbus.rr.com wrote:
> How about when a pane receives an escape sequence to go to a column or
> row outside the size of the pane? Should tmux pass that on through as
> is, or should tmux recognize that that might cause stuff to be
> displayed in the wrong pane and gobble or modify escape sequences to
> avoid such?

Interesting problem, can we script up a test case?  I would expect tmux
to pass it through and the terminal respond as if tmux was not there;
how would my 80x24 terminal respond if I asked it to go to outside its
dimensions?

Admittedly I have not had cause work with escaped character sequences. 
But I am curious how tmux responds versus my expectations.  A quick test
with a single 80x24 window horizontally split into two 40x24 panes and
running "tput cup 0 60" results in the first letter of my prompt at the
end of row 1 and cursor placed after the prompt on row 2.  But maybe
tput is sending codes better than escaping them directly?

-Chris



More information about the colug-432 mailing list