Add Ctrl+L screen clear support in REPL
Resolved 💬 2 comments Opened Feb 11, 2026 by michael-123123 Closed Mar 11, 2026
Problem
In a regular terminal, Ctrl+L pushes the current view to the top of the screen (equivalent to running clear). This is a deeply ingrained muscle-memory shortcut for developers. In Claude Code's REPL:
Ctrl+Lis unbound and does nothing!cleargets intercepted/suppressed by the REPL input handler/clearclears the conversation context, not the terminal screen- The only workaround is running raw ANSI escape codes, which is not ergonomic
Proposed Solution
- Add a
terminal:clear(or similar) action that sends the standard clear-screen ANSI escape sequence (\033[2J\033[H) - Bind
Ctrl+Lto this action by default, matching standard terminal behavior - Alternatively, make it available as a bindable action in
~/.claude/keybindings.json
Context
This is standard behavior in virtually every terminal emulator, shell (bash, zsh, fish), and REPL (Python, Node, etc.). Its absence is a frequent friction point.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗