> gnome-terminal could warn you before pasting a newline. It could offer
> to disable that warning, 

Yep, it should do both things (I forgot to mention the second one), or,
as I said, just require a single Enter keystroke (and still, obviously
have a setting to disable that). I don't think having to hit Enter when
you paste several lines, just like you usually do when you paste a
single line (usually not including the final newline) would be a great
annoyance for those who often paste whole sequences of commands, but if
it was for someone, there would always be the setting to disable it.

> I believe the proper solution is to enable bracketed paste mode

Does that address the case where I actually do want to paste a sequence
of commands and run them?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1791337

Title:
  Terminal should prompt for confirmation before pasting text containing
  newlines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1791337/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to