Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Clearing the buffer without clearing the status line #676
Basically, when you clear the buffer with
I'm hoping someone has a clever way to get around this. So far I've been clearing the buffer then clearing normally immediately after, but it's not ideal.
Spaceship version: 3.10.0
Firstly, your problem has nothing to do with this prompt theme. I don't understand why you opened a issue here.
Clear Buffer with
If you only need a key binding to clear the screen, try
bindkey "^L" clear-screen
It is related to the prompt theme. I'm not saying it's an issue with the theme, but my issue is because of the theme.
With spaceship prompt, the status line is printed above the prompt as a separate line. When you clear the buffer, it clears the status line.
I understand the difference between clearing the buffer and
I was wondering if anybody had a workaround for this, whilst still clearing the buffer. Simply clearing the screen is not enough. That is why I opened this support request.
Thanks for your time.