You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue arises when I'm clearing the screen. If I use clear it works perfectly (it clears the screen and both upper and lower segments are displayed)
However, when I use CTRL+L the screen is cleared but the upper segments are not displayed
Any idea on how I can fix this?
The text was updated successfully, but these errors were encountered:
fedemengo
changed the title
CTRL+L doesn't print prompt
CTRL+L doesn't show upper prompt
Dec 15, 2018
fedemengo
changed the title
CTRL+L doesn't show upper prompt
CTRL+L doesn't show upper segments
Dec 15, 2018
In order to fix some weird redrawing on resize issue (described in #2), some changes were made to the rendering mechanism (specifically c265772), which first prints the upper segment and sets $PROMPT to the lower segments. This is why then using CTRL+L only the lower segments get re-rendered.
We can set $PROMPT to also include the upper segments (like before the changes in c265772), but we'll get the resize problems back.
A solution for this could be some config variable to control this behaviour, but I can't think of one with a proper name 😋. Thoughts?
Thanks for the useful info, I've been doing some experiments and I understand why you decided to implement it this way.
It seems that the redrawing-on-resize issue is a common problem to several themes
The issue arises when I'm clearing the screen. If I use
clear
it works perfectly (it clears the screen and both upper and lower segments are displayed)However, when I use
CTRL+L
the screen is cleared but the upper segments are not displayedAny idea on how I can fix this?
The text was updated successfully, but these errors were encountered: