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

Escaping escapes #16

Open
leephillips opened this issue Aug 19, 2024 · 1 comment
Open

Escaping escapes #16

leephillips opened this issue Aug 19, 2024 · 1 comment

Comments

@leephillips
Copy link

If the line in the nvim buffer looks like, for example,

s = "a \"quoted thing\" inside a quote"

then, upon sending it to the runner with the KittySendLines command, I see

s = "a "quoted thing" inside a quote"

in the runner.

In other words, the backslash escape character has been interpreted when I would like it to be copied literally. The same behavior occurs with other escaped characters such as \r and \t: newlines and tabs appear instead of what was literally in the nvim buffer. Is there a setting or some way of avoiding this?

@jghauser
Copy link
Owner

Thanks a lot for this report and sorry it's taken me so long to get to it! I feel like this should work as we've got a function to escape escape characters for exactly this reason. I'll try get to the bottom of it!

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