There is an odd bit of behavior in CUU and CUD when the cursor is at the end of the line in xterm that tmux does not have. The following command:
echo -e '\033[2J\033[2;80Ha\033[1Ab\n' when run on a terminal 80 characters wide, will print both "a" and "b" on the 80th column in xterm. In tmux, the 'b' is wrapped to the next line. Like xterm, tmux allows the cursor's x position to be one larger than the number of columns. That is, when s->cx == screen_size_x(s), as described in the comment at screen-write.c:1033. The difference is that when xterm moves the cursor up or down, it also moves the cursor back into the last column. This patch modifies tmux to do the same thing xterm does.
undowrap.patch
Description: Binary data
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users