So, I've encountered an interesting glitch when drawing left-right
splits, if the left pane has wide characters that start on the column
just before the split. This situation can occur if you start with a
non-split screen, cat some wide-character text to the screen, and then
create a left-right-split, so that the split now occurs overs some wide
characters, on lines that continue on past the split.

What happens is that the wide characters, which start on the column just
before the split, are written out so they overlap (obscure) the pane border.

Also, if you change focus to a different pane, the redraw causes the
border to overwrite the wide character - not only where the border is,
but also in the cell to the left. If that border then becomes "inactive"
(it doesn't border the active pane in a 3-pane (or more) split), the
cell to the left remains with the active color.

Here are some images of the problem:
http://micah.cowan.name/screenshots/wide-char-glitch/

The first image is just after a split, when the left contains the output
of "wget --help" within a Japanese locale (and with Japanese language
packs installed). The second image is after a pane-change, immediately
following the previous image. The third is after an up-down split on the
right-hand side, and a subsequent pane-change or two, to illustrate that
some left cells stay "active" while the border changes to "inactive".

This is on Ubuntu Lucid's xterm, in case that matters.

I suppose the appropriate fix would be not to draw characters unless
they are fully within the pane, rather than to draw them if any portion
of them are within the pane.

-- 
Micah J. Cowan
http://micah.cowan.name/

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to