gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.41k stars 293 forks source link

Copy/paste with mouse doesn't execute commands anymore #2047

Open oybed opened 3 years ago

oybed commented 3 years ago

This may be related to issue #2002, but what previously used to work is no longer working for copy/paste of a command using the mouse.

When I highlight a command in one window (including the CR), and middle-click in another tab/window, the command is correctly pasted, but instead of executing the command it is just left high-lighted in the new window - I then need to hit "enter" to execute the command. This is quite annoying as it used to work previously.

I looked through the tilix settings, but cannot seem to find anything related that would change this behavior back to the way it used to work.

Not sure if it's the newer version of tilix, or newer version of Fedora (34) that I'm using, but I'd be happy to provide more details as needed.

bugaevc commented 3 years ago

This is not a bug in Tilix, but simply the bracketed paste feature of the GNU Readline library, working exactly as intended.

gtirloni commented 2 years ago

To disable it, add the following like to ~/.inputrc:

set enable-bracketed-paste off