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

Supporting paste #12

Open
donaldpiret opened this issue Nov 25, 2021 · 1 comment
Open

Supporting paste #12

donaldpiret opened this issue Nov 25, 2021 · 1 comment

Comments

@donaldpiret
Copy link

Hello, I'm following the nodejs example in the example dir but am having some issues supported pasted text. It seems to append tilde's (~) around the pasted content (and only when setting the stdin into raw mode, without it I seem to be getting the control characters).

eg. irb(main):001:0> ^[[200~www.sephora.sg^[[201~

Is there any way to fix that?

@justinmk3
Copy link

justinmk3 commented Nov 29, 2021

That suggests a CLI application (e.g. irb) enabled bracketed-paste mode, but is not actually handling the control codes (which are added by your terminal, not SSM). I wouldn't think SSM can/should do anything to modify the data.

These are the usual options:

  1. The receiving application (irb) needs to handle the control codes, or
  2. Whatever enabled bracketed-paste mode... should not. (Possibly something in your .bashrc/.zshrc/etc?)

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