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

Parse multiline strings #161

Open
go-dockly opened this issue Apr 8, 2023 · 1 comment
Open

Parse multiline strings #161

go-dockly opened this issue Apr 8, 2023 · 1 comment

Comments

@go-dockly
Copy link

bug report with the following information:

  • Operating System (eg. Windows, Linux, Mac)
    macOS
  • Terminal Emulator (eg. xterm, gnome-terminal, konsole, ConEmu, Terminal.app, Command Prompt)
    iTerm
  • Bug behaviour
    liner terminates parsing the input after \n always not by complete input buffer
  • Expected behaviour
    if I paste contents of my clipboard into liner I'd expect the complete content to be parsed by Prompt not just till first line break
  • Complete sample that reproduces the bug
    Paste a two line text in to prompt.
@go-dockly go-dockly changed the title Paste multiline strings Parse multiline strings Apr 10, 2023
@peterh
Copy link
Owner

peterh commented May 14, 2023

Note to whomever implements this: You should probably prevent strings with newlines in AppendHistory to avoid it showing up as multiple entries in the history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants