-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resizing the terminal causes lines to disappear #2
Comments
Can you please upload some screenshots regarding this issue? Also, what do you mean by "resizing code that clears too many lines"? |
Actually there isn't such a resize code, but I am doing some weird stuff there. I'm planning on a rewrite, so expect some updates soon. |
Just updated the theme, this should be working fine now. However, and I did notice it in other themes that has an upper right segment (such as If this bother you, you can set |
yeah, that's true. |
@avently It works fine for me for the following basic config: BLOX_CONF__ONELINE=false
BLOX_SEG__UPPER_LEFT=(blox_block__cwd)
BLOX_SEG__UPPER_RIGHT=() Can you upload a screenshot please? |
You can reproduce it. Just choose directory with long name and make your terminal window slower than length of directory name. So i think we need to find another way to do things (not what you did in 14c75a8 ) |
@yardnsm i found something usefull - https://superuser.com/questions/382503/how-can-i-put-a-newline-in-my-zsh-prompt-without-causing-terminal-redraw-issues |
The link was useful, the solution fixed the redrawing issue with the upper segments, but it still may redraw the lower left segment since I'm still setting |
@yardnsm try to replace Because RPROMPT is the cause of that issue now. So, if a user doesn't use lower_right corner we don't need to use RPROMPT. |
So |
I use this theme with terminator, and opening a new terminal window below (using ctrl+O) often causes the previous terminal window to lose lines. I'm not totally sure what's causing this, but this problem doesn't occur with other zsh themes. I suspect it has to do with resizing code that clears too many lines.
The text was updated successfully, but these errors were encountered: