[GH-ISSUE #989] CLI clear command #46993

Closed
opened 2026-04-28 02:31:25 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @tommyneu on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/989

The terminal gets a bit cluttered when asking questions. It would be nice if I could clear the terminal with a command. Something like /clear to clear the terminal so my next output is a little easier to read or I can clear the output when I'm done asking questions for now.

Originally created by @tommyneu on GitHub (Nov 3, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/989 The terminal gets a bit cluttered when asking questions. It would be nice if I could clear the terminal with a command. Something like `/clear` to clear the terminal so my next output is a little easier to read or I can clear the output when I'm done asking questions for now.
GiteaMirror added the good first issuefeature request labels 2026-04-28 02:31:26 -05:00
Author
Owner

@aashish2057 commented on GitHub (Nov 3, 2023):

Hi I would like to take this on

<!-- gh-comment-id:1793216144 --> @aashish2057 commented on GitHub (Nov 3, 2023): Hi I would like to take this on
Author
Owner

@mxyng commented on GitHub (Nov 3, 2023):

This is already supported. If you use Ctrl+L, it'll clear the screen. This is a common shortcut for /clear

<!-- gh-comment-id:1793227686 --> @mxyng commented on GitHub (Nov 3, 2023): This is already supported. If you use Ctrl+L, it'll clear the screen. This is a common shortcut for `/clear`
Author
Owner

@tommyneu commented on GitHub (Nov 4, 2023):

Ctrl+L is not a shortcut to clear the terminal in all scenarios and it would help more novice terminal users when they see the list of command from /?

<!-- gh-comment-id:1793441499 --> @tommyneu commented on GitHub (Nov 4, 2023): Ctrl+L is not a shortcut to clear the terminal in all scenarios and it would help more novice terminal users when they see the list of command from `/?`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46993