Writing a colored character into a gap created by \t recolors the entire gap
Oleg A.P.
urxlist at dev-random.ru
Sat Mar 28 11:59:27 CET 2020
On Sat, Mar 28, 2020 at 12:51:27AM +0100, Marc Lehmann wrote:
> On Wed, Mar 25, 2020 at 06:53:19PM +0400, "Oleg A.P." <urxlist at dev-random.ru> wrote:
> > This behavor does not match other terminals and is not expected by
> > NCurses. The conditions for the bug are rather rare but they do happen.
>
> Hi, this behaviour is correct - by default, urxvt handles tab as a wide
> character, rather than a cursor movement. You can switch this behaviour
> off using "+ptab" (see manpage for details on this option).
Then how do you suggest application authors/maintainers to deal with the
fact that this behavior is incompatible with NCurses? Tell the users
that they must use +ptab? Refuse to run on rxvt-unicode?
Maybe you could make it so that when a wide character is replaced with a
narrow character, the remaining gap is filled with the wide character's
original color and not with the narrow character's new color? That would
fix the incompatibility while keeping tabs "pastable".
More information about the rxvt-unicode
mailing list