Aptivi - Stable Manuals
ProjectsWebsiteBlog
Terminaux 4.x - Manual
Terminaux 4.x - Manual
  • Welcome!
  • Usage
    • Preface
    • Console Tools
      • Console Checker
        • Console Size Requirements
      • Image Rendering
        • Icons
      • Console Wrapper
      • Console Writers
      • Console Colors
      • Color Templates
      • Console Screen
      • Console Resize Listener
      • Presentation System
      • VT Sequences
      • Console Extensions
      • Interactive TUI
      • Geometric Shapes
      • Nerd Fonts
      • Terminal Info
    • Input Reader
      • Keybindings
      • Custom Bindings
      • Reader State
      • Reader Settings
      • Syntax Highlighting
      • Pointer Events
      • Other Input
        • Figlet Font Selector
        • Color Wheel
    • Color Sequences
      • Color Model Conversions
      • Color Model Parsing
      • Interop with System.Drawing.Color
  • Report an issue
  • Source code
  • API Reference
Powered by GitBook
On this page
Edit on GitHub
  1. Usage
  2. Input Reader

Keybindings

Press any key!

TermRead implements the following keybindings to interact with the input:

Keybinding
Action

ENTER

Accepts input

Ctrl+C

Cancels reading (if TreatCtrlCAsInput is enabled)

Ctrl+A / HOME

Beginning of line

Ctrl+E / END

End of line

Ctrl+B / ←

Backward one character

Ctrl+F / →

Forward one character

BACKSPACE

Remove one character from the left

UP ARROW

Get the older input

DOWN ARROW

Get the newer input

DELETE

Remove one character in current position

ALT+B

One word backward

ALT+F

One word forward

TAB

Next auto-completion entry (if there is one)

Insert four spaces (if no autocompletions)

SHIFT+TAB

Previous auto-completion entry

CTRL+U

Cut to the start of the line

CTRL+K

Cut to the end of the line

CTRL+W

Cut to the end of the previous word

ALT+D

Cut to the end of the next word

CTRL+Y

Yank the cut content

Alt+L

Make word lowercase

Alt+U

Make word uppercase

Alt+C

Make character uppercase and move to the end of word

Alt+V

Make character lowercase and move to the end of word

Alt+S

Shows all suggestions in the style akin to the Bourne Again SHell (bash)

Alt+R

Refreshes the prompt, the text input, and the current cursor position.

Insert

Text append mode (Insert or append)

CTRL+L

Clears the screen and refreshes the prompt.

ALT+\

Cut the whitespaces before and after the character.

CTRL+T

Substitutes two characters

ALT+T

Substitutes two words

ALT+SHIFT+#

Makes your current input text a comment (visual only, but ignores your text on submit)

ALT+TAB / CTRL+I

Forces the tab character to be written. Writes as spaces.

ALT+SHIFT+C

Temporarily conceals or reveals the whole input in normal prompts.

Warning: Some of the keys conflict with the terminal emulator and/or the operating system keybindings.