bug-bash
[Top][All Lists]
Advanced

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

Re: BUG: Colorize background of whitespace


From: Chet Ramey
Subject: Re: BUG: Colorize background of whitespace
Date: Wed, 25 Oct 2023 11:02:08 -0400
User-agent: Mozilla Thunderbird

On 10/25/23 10:48 AM, David wrote:

The bug being reported is that the '\t' characters have a black background
if the 'seq' argument is low enough that its lines 1 and 2 remain
visible when run.

Bash and readline don't do anything with terminal foreground colors and
background colors except under certain circumstances like bracketed-paste.
If you're pasting the above command into the terminal, that pasted text
will be colored according to active-region-start-color and
active-region-end-color (bash-5.2) or terminal standout mode (bash-5.1).
Otherwise, readline redisplay just outputs terminal sequences to move the
cursor and the characters in the line.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

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