[FEATURE] Ctrl+l for clearing the view in the terminal

Resolved 💬 6 comments Opened Mar 13, 2026 by JoseZubietaAIAEC Closed May 27, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

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+L is unbound and does nothing
!clear gets intercepted/suppressed by the REPL input handler
/clear clears 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+L to this action by default, matching standard terminal behavior
Alternatively, make it available as a bindable action in ~/.claude/keybindings.json

Alternative Solutions

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.

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗