> I see the benefit to the change in bash from a security perspective, so > perhaps gnome-terminal needs to adapt to this new feature.
You missed the possibility of keeping bracketed paste mode (the functionality) enabled (as I, for one, have had it enabled ever since bash added this feature, which was like version 4.3 or 4.4 or so), but configuring (patching?) bash not to use inverse colors for pasted text. Use regular colors as it used to do, or some actual coloring (e.g. magenta), or underlining etc. > This is one option, but it may have implications for accessibility If it's good enough for text highlighting in all GTK apps, including the Firefox browser, then I doubt there would suddenly be a11y considerations arising in the terminal. But of course I might be missing something. > There may also be other things that gnome-terminal cold do to adapt to > this change. I can't think of any other easy way. I mean, for example Terminology uses fancy diagonal shading and stronger contour for the highlighted area, but I highly doubt gnome-terminal (vte) would do anything similar any time soon; especially if GTK doesn't have such a feature either. Also don't forget that presumably about a dozen other terminal emulators suffer from the same problem. If you choose to adjust terminals to bash, rather than the other way around, you'll have to do it with many-many terminals. I don't believe it's the preferred approach. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1926256 Title: Pasted text in the terminal is always highlighted and selected To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1926256/+subscriptions -- ubuntu-bugs mailing list firstname.lastname@example.org https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs