Skip to content

doc: add doc for tty writes ( readline.js / REPL ) #20814

Description

@shobhitchittora

The readline interface is missing the keybindings docs for possible input to tty. Attaching a list of possible bindings to be added to the doc.

KeyBindingsDescription
ctrl+shift+backspacedelete line left
ctrl+shift+deletedelete line right
ctrl+cemits SIGINT
ctrl+hdelete left
ctrl+ddelete right or EOF
ctrl+udelete from current to line start
ctrl+kdelete from current to end of line
ctrl+agoto start of line
ctrl+egoto to end of line
ctrl+bback one character
ctrl+fforward one character
ctrl+lclear screen
ctrl+nnext history item
ctrl+pprev history item
ctrl+z(need clarification)
ctrl+w or ctrl+backspacedelete backwards to a word boundary
ctrl+deletedelete forward to a word boundary
ctrl+leftword left
ctrl+rightword right
meta+bword left
meta+fword right
meta+d or meta+deletedelete word right
meta+backspacedelete word left

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.readlineIssues and PRs related to the built-in readline module.replIssues and PRs related to the REPL subsystem.ttyIssues and PRs related to the tty subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions