|
From: | Bozhidar Batsov |
Subject: | Re: [PATCH] Add function eshell/clear to clear current eshell buffer |
Date: | Sun, 8 Mar 2015 09:25:15 +0200 |
Bozhidar Batsov <address@hidden> writes:
> Guess it should be bound to `C-c M-o` as the clear command for comint
> buffers.
`C-c M-o` is bound to (eshell-mark-output), which does something similar
to clear, but instead of erasing the buffer, only moves the active
eshell prompt to the top of the window. However, once you enter a
newline at the prompt, the prompt goes back to its original position,
something which clear isn't supposed to do.
The documentation suggests that the command is used to narrow the buffer
to the region containing the last command's output.
--
Vibhav Pant
address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |