Ticket #3874 (new defect) — at Version 3

Opened 6 years ago

Last modified 5 years ago

pasting wrapped line adds EOL

Reported by: nerijus Owned by:
Priority: critical Milestone: Future Releases
Component: mc-core Version: master
Keywords: paste wrap Cc: egmont, howaboutsynergy@…
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by egmont) (diff)

With bash-4.4/readline-7.0 if I put "set enable-bracketed-paste on" in ~/.inputrc, pasting a string with EOLs does not execute it. But with mc there is one problem. If I launch mc, press Ctrl-O and paste, it gets executed. But if I paste again, it does not. Or if I launch mc, press Ctrl-O, press Enter and then paste - it does not paste EOLs too.

Change History

comment:1 Changed 6 years ago by nerijus

Created a new ticket by request. The old ticket is #3229.

Last edited 6 years ago by andrew_b (previous) (diff)

comment:2 Changed 6 years ago by nerijus

  • Keywords paste wrap added

comment:3 Changed 6 years ago by egmont

  • Cc egmont added
  • Description modified (diff)

(I'm removing the first three paragraphs of your post, since it's utterly irrelevant, and hence might distract us from the actual problem. It does not matter at all where the text was copied from. The remaining last paragraph on its own is a valid bugreport: if you paste a text which ends in a newline, bracketed paste mode is disregarded.)

Note: See TracTickets for help on using tickets.