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 Desktop Bugs, which is subscribed to gnome-terminal in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs