On Sat, Apr 22, 2017 at 02:33:28AM -0600, Nicholas Marriott wrote:
> CVSROOT:      /cvs
> Module name:  src
> Changes by:   n...@cvs.openbsd.org    2017/04/22 02:33:28
> 
> Modified files:
>       usr.bin/tmux   : input.c 
> 
> Log message:
> We need to collect UTF-8 characters so that width != 1 characters are
> correctly flushed.
> 

Attached is a file (copy-pasted from my mutt inbox) that stops being
displayed properly when I cat it inside a tmux session with this commit,
running in xterm.

With this commit, the e2 94 8c character [1] (which appears three times)
is displayed as a small oval box with a question mark in it, which I
believe is xterm's way of letting me know that there's a character it
doesn't recognize. When reverting to input.c r1.118, I see the character
displayed as in this link:

[1]: http://www.charbase.com/250c-unicode-box-drawings-light-down-and-right

I'm not sure what kind of other info is useful, here's my environment in
that tmux session:

_=/usr/bin/env
LOGNAME=theo
WINDOWID=16777229
XTERM_SHELL=/bin/ksh
HOME=/home/theo
VIM=/usr/local/share/vim
VISUAL=/usr/local/bin/vim
XTERM_VERSION=XTerm/OpenBSD(327)
EDITOR=/usr/local/bin/vim
TMUX=/tmp/tmux-1000/default,88585,0
SSH_AUTH_SOCK=/tmp/ssh-7gvHGwUNcQnk/agent.53567
TERM=screen-256color
SHELL=/bin/ksh
XTERM_LOCALE=en_US.UTF-8
WINDOWPATH=ttyC4
PWD=/home/theo
LC_CTYPE=en_US.UTF-8
DISPLAY=:0
SSH_AGENT_PID=30844
ENV=/home/theo/.kshrc
PATH=/home/theo/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
FCEDIT=/usr/local/bin/vim
TMUX_PANE=%0
USER=theo
   4   + Apr 22 Nicholas Marriott     (0.8K)   ┌>
   5 r + Apr 22 Nicholas Marriott     (6.3K)  ┌>
   6   + Apr 22 Nicholas Marriott     (5.7K) ┌>
   7 r   Apr 21 Nicholas Marriott     (0.3K) CVS: cvs.openbsd.org: src

Reply via email to