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

Bug#973941: Pasted text looks same as cursor



On Sun, Nov 08, 2020 at 11:00:04AM -0500, Thomas Dickey wrote:
> On Sun, Nov 08, 2020 at 08:55:52AM +0100, Sven Joachim wrote:
> > On 2020-11-08 06:53 +0800, 積丹尼 Dan Jacobson wrote:
> > 
> > > Package: xterm
> > > Version: 361-1
> > > Severity: minor
> > >
> > > Lately when we paste with SHIFT+INSERT, the pasted text is in reverse
> > > video.
> > 
> > I presume you are using bash which added this feature in version 5.1, in
> > zsh it has been available for a few years.
> 
> I've not noticed this (only use either of those when testing something).
> 
> xterm doesn't color _inserted_ text, but only the _selected_ text.
> 
> If the shell is (mis)using bracketed paste to temporarily paint colors
> on the screen, there's not much to be done using xterm's resources...
> 
> On the other hand, it's possible to turn off bracketed paste:
> 
> https://mail.gnu.org/archive/html/bug-bash/2020-10/msg00082.html

...and that seems to be the recommendation from others:

https://mail.gnu.org/archive/html/bug-bash/2020-10/msg00068.html

(this is a defect in bash --- will reassign)

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

Attachment: signature.asc
Description: PGP signature


Reply to: