[Bug 1926256] Re: Pasted text in the terminal is always highlighted and selected
Egmont Koblinger
1926256 at bugs.launchpad.net
Sun May 16 07:59:04 UTC 2021
> h. Bracketed paste mode is enabled by default.
> If so, it looks like this "feature" can be disabled. How?
The way to disable bracketed paste mode is presumably to place this in .inputrc:
set enable-bracketed-paste off
But DON'T do this! Bracketed paste mode is an important safety measure
against malicious or accidental pastes that contain embedded newlines.
See https://thejh.net/misc/website-terminal-copy-paste .
What you should be looking for is to preserve bracketed paste mode, yet
revert to no highlighting, or customize the highlighting colors. I don't
know how to do that because I haven't studied this new bash "feature"
yet. If you look it up and find it, please post the answer here :)
--
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:
Confirmed
Status in gnome-terminal package in Ubuntu:
Invalid
Status in mate-terminal package in Ubuntu:
Confirmed
Status in vte2.91 package in Ubuntu:
Confirmed
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