tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Replacing window(1) with tmux

> Actually there are still display problems with the latest cvs version
> of tmux.  UTF-8 characters are displayed but there seems to be
> problems with linewidth calculation and after eg. scrolling a bit
> around in mutt, the screen is messed up.

I suspect that's what's actually going on here is that tmux and/or some
underlying library is encoding-blind but is written assuming that
octet==character.  That UTF-8 "works" is an artifact of how multiple
octets making up a single character, printed to the pty together, get
sent to the underlying display together.  But then the display's cursor
is not where the code thinks it is, which leads to..problems.

This is speculation, but I think it's reasonable speculation. :)

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML      
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index