Skip to content

prompt: add literal mode  #7

@askalt

Description

@askalt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions