2026-04-17 02:21:00 +05:30
2026-04-17 02:21:00 +05:30
2026-04-17 02:21:00 +05:30

🔲 To Do


Cursor Movement

  • — move one character at a time
  • Alt+B / Alt+F — jump one word left / right
  • Ctrl+← / Ctrl+→ — same as Alt+B/F (alternate terminal sequences)
  • Home / End — jump to start / end of line
  • Ctrl+A / Ctrl+E — same as Home/End (Bash-style)

Editing

  • Printable characters — insert at cursor position, not just append
  • Backspace — delete character to the left
  • Delete — delete character to the right (forward delete)
  • Alt+Backspace / Ctrl+W — delete whole word to the left
  • Alt+D — delete whole word to the right
  • Ctrl+K — kill everything from cursor to end of line
  • Ctrl+U — kill everything from cursor to start of line

Selection

  • Shift+← / Shift+→ — grow / shrink a text selection
  • Shift+Home / Shift+End — select to start / end of line
  • Typing while text is selected — replaces the selection
  • Backspace while text is selected — deletes the selection

Visual

  • Live trailing whitespace highlighted in red background as you type
  • Text selection shown with reversed colors

History

  • / — scroll through previous commands
  • Ctrl+R — reverse search through history (type to fuzzy-find a past command)
  • Persist history to ~/.rawline_history so it survives between sessions
  • History deduplication — don't save the same command twice in a row

Autocomplete

  • Tab — complete current word from a list of known commands or keywords
  • Cycle through multiple matches with repeated Tab presses
  • Dropdown menu of suggestions rendered below the input line
  • Fuzzy matching — doesn't need to start with the same letters

Multiline Input

  • Alt+Enter — insert a newline without submitting
  • Smart indentation — auto-indent next line based on previous

Syntax Highlighting

  • Plug in Pygments for real language syntax highlighting
  • Highlight matching brackets / parentheses when cursor is near one

More Shortcuts

  • Alt+C — capitalize current word
  • Ctrl+Y — yank (paste) last killed text from Ctrl+K or Ctrl+U
  • Ctrl+_ — undo last edit (with a full undo stack)

Clipboard

  • Ctrl+C on a selection — copy to system clipboard
  • Ctrl+V — paste from system clipboard

S
Description
A simple barebones REPL-style CLI using ANSI terminal escape sequences written in python.
Readme 27 KiB
Languages
Python 100%