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

Input line lost when pasting multiple lines and $EDITOR is not set #280

Closed
osa1 opened this issue Dec 4, 2020 · 0 comments
Closed

Input line lost when pasting multiple lines and $EDITOR is not set #280

osa1 opened this issue Dec 4, 2020 · 0 comments
Labels

Comments

@osa1
Copy link
Owner

osa1 commented Dec 4, 2020

Suppose I have this input line:

osa1: blah blah blah

and in the clipboard I have a string with multiple lines (e.g. one or more \n characters in the clipboard). Now if I paste it and I don't have $EDITOR set I get an error message

Can't paste multi-line string: make sure your $EDITOR is set

which is fine, but I the input line also gets lost:

osa1:

The lost line is not in the history so up arrow doesn't bring it back.

@osa1 osa1 added the bug label Dec 4, 2020
@osa1 osa1 closed this as completed in e50c26c Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant