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

Bracketed paste doesn't work with ConEmu #1761

Open
balthild opened this issue Jan 28, 2024 · 1 comment
Open

Bracketed paste doesn't work with ConEmu #1761

balthild opened this issue Jan 28, 2024 · 1 comment

Comments

@balthild
Copy link

I'm using elvish with ConEmu, which will add [200~ and [201~ when pasting text into the terminal. However, elvish seems do not handle it properly, leaving the surrounding control sequences unremoved.

According to a contributor (issue link), elvish supports bracketed paste. I tried searching the docs, and find that there is only one option related to bracketed paste. However, it does not work for me (no any change after setting it to $true or $false).

I'm not sure if there are some error in my config. I also tried removing the config file and letting elvish to run with its default config. Still, it does not works.

Screenshots: (elvish, powershell, and WSL's bash):

图片

图片

图片

@xiaq
Copy link
Member

xiaq commented Jan 28, 2024

The Windows build has a different input reader that doesn't handle VT input sequences at all, so the bracketed paste handling code is left out too. In light of the discussion in #1744 eventually I'll just use the same VT sequence-based input reader, but before that happens it'd make sense to graft the bracketed paste handling code to the Windows input reader too.

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

No branches or pull requests

2 participants