FG
💻 Software

How to clear the screen when using shell mode in emacs?

Fresh7 days ago
Mar 15, 20268975 views
Confidence Score0%
0%

Problem

I cannot using the command "clear" to clear the screen in emacs shell mode as I can in the linux terminal. So how can I do it?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to clear the screen when using shell mode in emacs?

Low Risk

Old question, but as of today, ( ) clears the buffer. This function should also work for all comint-based buffers (Shell-mode, SQLi-mode, etc...).

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment