Re: BUG: double width characters cause previous character to be lost

2012-01-15 Thread Nicholas Marriott
Applied, thanks. On Thu, Jan 12, 2012 at 09:03:03PM +0100, Matthias Lederhofer wrote: > Nicholas Marriott wrote: > > Try this please, see if it fixes your problem and if you see any ill > > effects: > > This fixes the problem for my test case. ---

Re: BUG: double width characters cause previous character to be lost

2012-01-12 Thread Matthias Lederhofer
Nicholas Marriott wrote: > Try this please, see if it fixes your problem and if you see any ill > effects: This fixes the problem for my test case. -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register n

Re: BUG: double width characters cause previous character to be lost

2011-12-19 Thread Nicholas Marriott
Try this please, see if it fixes your problem and if you see any ill effects: Index: tty.c === RCS file: /cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.110 diff -u -p -r1.110 tty.c --- tty.c 24 Aug 2011 09:58:44 -

Re: BUG: double width characters cause previous character to be lost

2011-12-19 Thread Nicholas Marriott
Yes, tmux should be eating the UTF-8 character, not the r. >Matthias Lederhofer wrote: > Nicholas Marriott wrote: > > uxterm rather. > > uxterm does actually not display the character, but displays a double > width

Re: BUG: double width characters cause previous character to be lost

2011-12-12 Thread Stroller
On 12 December 2011, at 16:36, Matthias Lederhofer wrote: > ... > With tmux: the double width character and the "r" is missing (i.e. the > line ends in "ba "). > > Can you reproduce this? I can. The "r" is missing for me, too. But if I toggle to a different window and then back again (CRTL-a l

Re: BUG: double width characters cause previous character to be lost

2011-12-12 Thread Matthias Lederhofer
Nicholas Marriott wrote: > uxterm rather. uxterm does actually not display the character, but displays a double width box instead. So I'm trying with this. Without tmux: the double width character is lost (i.e. only one line ending in "bar "). With tmux: the double width character and the "r" i

Re: BUG: double width characters cause previous character to be lost

2011-12-12 Thread Nicholas Marriott
uxterm rather. On Mon, Dec 12, 2011 at 08:29:51AM +, Nicholas Marriott wrote: > Yeh looks funny. What happens when you do the same thing in xterm? > > > > On Mon, Dec 12, 2011 at 07:32:55AM +0100, Matthias Lederhofer wrote: > > Nicholas Marriott wrote: > > > please send a file with the pr

Re: BUG: double width characters cause previous character to be lost

2011-12-12 Thread Nicholas Marriott
Yeh looks funny. What happens when you do the same thing in xterm? On Mon, Dec 12, 2011 at 07:32:55AM +0100, Matthias Lederhofer wrote: > Nicholas Marriott wrote: > > please send a file with the problem output since your email does not > > include the actual UTF-8 > > Just take any double widt

Re: BUG: double width characters cause previous character to be lost

2011-12-11 Thread Matthias Lederhofer
Nicholas Marriott wrote: > please send a file with the problem output since your email does not > include the actual UTF-8 Just take any double width character, I used \u300a as an example. File attached for 80 column terminal.

Re: BUG: double width characters cause previous character to be lost

2011-12-11 Thread Nicholas Marriott
please send a file with the problem output since your email does not include the actual UTF-8 On Sun, Dec 11, 2011 at 10:15:52PM +0100, Matthias Lederhofer wrote: > Hi, > > I just noticed the following bug when playing around with double width > characters: > > When using an urxvt terminal wit

BUG: double width characters cause previous character to be lost

2011-12-11 Thread Matthias Lederhofer
Hi, I just noticed the following bug when playing around with double width characters: When using an urxvt terminal with width of 80 the following command prints "bar" on one line and the double width character on the next line: printf "%79s《\n" bar In tmux the same produces only "ba" on the