bug-ncurses
[Top][All Lists]
Advanced

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

Re: misplaced cursor when a double-width character is near the lower-rig


From: sunnycemetery
Subject: Re: misplaced cursor when a double-width character is near the lower-right corner
Date: Wed, 27 Jan 2021 08:20:34 -0500

2021-01-13, 12:28, Benno Schulenberg:
When a double-width character is close to the right edge of the bottom row of a subwindow, and a single-width character is added, then the cursor can get misplaced, resulting in a misdrawing of the content when a further character is added.

I recently noticed similar misbehavior in my own ncurses programs using 6.2, although not with the cursor but with character placement using wmove followed by waddwstr. Interestingly, executing "mvwchgat (p, bottom, 0, width, WA_REVERSE, 1, NULL)" on such a pad seems to move affected characters into their correct columns.

If history is any indication, I have likely screwed something up--though the ability of mvwchgat to shuffle characters around does alarm me. Have you been able to reproduce this using any of the example programs?



reply via email to

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