[Feature Request] Add Ctrl+L keyboard shortcut for clearing terminal output

Status Closed — not planned
Maintainer reply ✓ Yes — wolffiex
Activity 7 comments · opened Jun 6, 2025 · closed Dec 10, 2025
💡 Likely answer: A maintainer (wolffiex, collaborator) responded on this thread — see the highlighted reply below.

Feature Request

Problem

Currently, users need to type the clear command to clear the Claude Code terminal output. This is less convenient than the standard Ctrl+L shortcut that works in most terminals and CLI applications.

Proposed Solution

Add support for Ctrl+L (Control+L) keyboard shortcut to clear the terminal output, similar to how it works in bash, zsh, and other terminal applications.

Current Workaround

Users currently work around this by:

  • Typing clear command
  • Using Ctrl+L doesn't work (as mentioned in #1341 where users manually clear with Ctrl+L)

Benefits

  • Improved user experience and muscle memory consistency
  • Faster terminal clearing without typing commands
  • Standard terminal behavior users expect

Additional Context

This would complement the existing /clear command (mentioned in #1561) and provide a more intuitive keyboard shortcut for the same functionality.

View original on GitHub ↗

7 Comments

wolffiex collaborator · 1 year ago

CTRL+L clears the prompt input as expected
/clear is for clearing the whole session

isCopyman · 1 year ago

!Image
#2801 [BUG] ctrl+l is not working as expected

wolffiex collaborator · 1 year ago

@chrislloyd looks like this may have regressed

github-actions[bot] · 1 year ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

lappi · 1 year ago

I think ideally, it should work like:

  • Ctrl+L keeps the current session and context and moves up the input line (like in terminals)
  • /clear is a command-mirror for Ctrl+L (perhaps it can break the UX with the previous versions)
  • /new should initiate a new session with a new context and history (perhaps it could have a hotkey, but it's not necessary)
github-actions[bot] · 10 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 10 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.