On 04/10/2023 21:11, Alan Mackenzie wrote:
Similarly, with a triple click, one can select a line, or a sequence of
lines.  This is all very fine, but GPM adds a CR after each line in the
sequnce, INCLUDING THE LAST ONE.  This makes it less useful for, say,
copying a shell script command from and editor onto a command line.
Because typically, you'd want to edit the command before executing it,

Hm. Bash by default will ignore a newline when pasting something. I think it's relatively new feature (like a year or two.) It's called "bracketed paste." It should be enabled by default. If not, it can enabled with:

  set enable-bracketed-paste on


Reply via email to