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

prompt: add literal mode #7

Open
askalt opened this issue Jul 9, 2023 · 0 comments
Open

prompt: add literal mode #7

askalt opened this issue Jul 9, 2023 · 0 comments

Comments

@askalt
Copy link

askalt commented Jul 9, 2023

Ctrl-v must tell a prompt to not interpret the following character. Press Ctrl-v and Enter. ^M must be printed. Ctrl-Home print the following: ?[1;5H, but it must work only if Ctrl-v was pressed previously (Ctrl-v, Ctrl-home) and print: ^[[1;5H.

So, need to add a literal mode activated by Ctrl-v, which allows not to interpret special keys. And, if this mode is not enabled, need to interpret them correctly.

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

No branches or pull requests

1 participant