Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to disable newline added to multiline paste #543

Closed
arza-zara opened this Issue Sep 30, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@arza-zara
Copy link
Contributor

arza-zara commented Sep 30, 2015

Paste a string like:

"/print abc
/print incompl"

with no newline in the end - and weechat runs also the incomplete command.

  • This happens only after paste confirmation.
  • This isn't related to bracketed paste mode.

@flashcode flashcode added the bug label Oct 2, 2015

@flashcode

This comment has been minimized.

Copy link
Member

flashcode commented Oct 3, 2015

This is in fact a feature (see commit a539dcb).

In most cases, it's better to automatically add a new line at the end: it's weird when you paste 10 lines to send 9 and keep the last one in the input buffer.

But then I'll add an option to disable that if you prefer to send exactly what is pasted.

@flashcode flashcode added enhancement and removed bug labels Oct 3, 2015

@flashcode flashcode changed the title Newline is added to multiline paste Add an option to disable newline added to multiline paste Oct 3, 2015

@flashcode flashcode self-assigned this Oct 3, 2015

@flashcode flashcode closed this in fab0d4e Oct 3, 2015

@flashcode flashcode added this to the 1.4 milestone Oct 3, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.