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

Enable bracketed paste #28

Closed
ulyssa opened this issue Jan 29, 2023 · 0 comments
Closed

Enable bracketed paste #28

ulyssa opened this issue Jan 29, 2023 · 0 comments
Assignees

Comments

@ulyssa
Copy link
Owner

ulyssa commented Jan 29, 2023

The crossterm crate supports reading bracketed paste commands from terminals that support it. This allows differentiating between newlines sent from pressing <Enter> and newlines that are part of pasted text. When iamb receives a bracketed paste, it should insert the text without interpreting it as typed characters, since that is most likely what the user wanted.

Note that this won't work everywhere: terminal multiplexers like screen will sometimes sanitize different escape sequences, so it will be up to users who want bracketed paste to ensure they're running in an environment where it will work.

@ulyssa ulyssa self-assigned this Jan 29, 2023
ulyssa added a commit that referenced this issue Jan 29, 2023
@ulyssa ulyssa closed this as completed Jan 29, 2023
@ulyssa ulyssa mentioned this issue Feb 10, 2023
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

1 participant