bug-ncurses
[Top][All Lists]
Advanced

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

Re: a double-width character can transgress to the next row


From: Thomas Dickey
Subject: Re: a double-width character can transgress to the next row
Date: Sat, 11 Apr 2020 19:25:02 -0400
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Mar 28, 2020 at 08:44:07PM -0400, Thomas Dickey wrote:
> On Wed, Mar 25, 2020 at 12:18:40PM +0100, Benno Schulenberg wrote:
> ...
> > So... I think this is a bug in ncurses.  Can you confirm?
> 
> I can see it - will investigate.

I spent some time today, haven't isolated the problem
(actually I'm working on 4 different reports, which takes time...)

To get some insight, I made ncurses call scr_dump on each doupdate.
The screen dumps show me that ncurses isn't wrapping the text
(the odd characters don't show up in the corresponding dumps).

It probably shows that there's some place where it's making some
assumption about the character widths which disagrees with the terminal.

That could happen with xterm if it uses its wcwidth versus ncurses
using the system wcwidth.  But configuring xterm to use the same wcwidth
didn't alter things.

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]