The most sane thing would probably to treat the whole content of the paste
as single command which implicitly means ignoring newlines or escaping
them. The user can then ack the whole array of commands by a single enter
key press.
I find the idea in general pretty good.
On Thu, Jun 11, 2015, 10:1
I don't think it is a bad idea per se. Here are some ideas from me:
• it should be either turned off by default
• or it should warn the user like »hey, you are going to paste multiple
lines, are you sure?« with an option to silence such warnings
Also I remember a warning, maybe from ViM that warn
On Thu, Jun 11, 2015 at 06:55:13PM +0300, Martin Kunev wrote:
[...]
> My idea is to add a setting (something like
> vte_terminal_set_paste_escape()) that, when turned on, escapes the
> dangerous characters (unquoted line feeds) from the clipboard text and then
> pastes.
[...]
> Any thoughts on this