aws-ssm-session
aws-ssm-session copied to clipboard
Supporting paste
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?
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:
- The receiving application (
irb
) needs to handle the control codes, or - Whatever enabled bracketed-paste mode... should not. (Possibly something in your .bashrc/.zshrc/etc?)