[Bug 1926256] Re: Pasted text in the terminal is always highlighted and selected
Egmont Koblinger
1926256 at bugs.launchpad.net
Mon Sep 26 22:04:20 UTC 2022
Freshly released bash-5.2 allows to disable the highlighting of pasted
text (while keeping the "bracketed paste mode" functionality enabled),
or even to define custom highlighting.
You need to place something like this in your .inputrc:
set enable-active-region off
or
set active-region-start-color "\e[42m" # change it to whatever you wish
set active-region-end-color "\e[m"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1926256
Title:
Pasted text in the terminal is always highlighted and selected
Status in bash package in Ubuntu:
Invalid
Status in gnome-terminal package in Ubuntu:
Invalid
Status in mate-terminal package in Ubuntu:
Invalid
Status in readline package in Ubuntu:
Confirmed
Status in vte2.91 package in Ubuntu:
Invalid
Bug description:
Steps to reproduce:
1. Have Ubuntu 21.04 installed
2. Launch terminal
3a. Execute some command, select this command to copy it, then paste command
3b. Paste some command from clipboard to terminal
Expected result:
* pasted command is not highlighted and is not selected
Actual result:
* pasted command is selected and highlighted
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: mate-terminal 1.24.1-1
ProcVersionSignature: Ubuntu 5.11.0-16.17-generic 5.11.12
Uname: Linux 5.11.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: MATE
Date: Tue Apr 27 09:43:56 2021
InstallationDate: Installed on 2021-04-23 (3 days ago)
InstallationMedia: Ubuntu-MATE 21.04 "Hirsute Hippo" - Release amd64 (20210420)
SourcePackage: mate-terminal
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1926256/+subscriptions
More information about the foundations-bugs
mailing list