-
Notifications
You must be signed in to change notification settings - Fork 950
Changing Terminal Size Causes Erratic Prompt Behavior #881
Comments
I do not see this in iTerm2 (3.1.6) on OS X 10.13.5. I do, however, have an issue where upon reducing the window size and then increasing it again, the spacing between subsequent prompts in the scroll history increases by one line. |
Having the same issue in tilix terminal v 1.8.1 with OhMyZsh on elementary OS loki. |
Same issue with Terminator |
So, unfortunately, this really isn't something P9k can fix. This is due to how your terminal emulator is triggering re-draws of the prompt, and different emulators handle it differently. This is why you don't see this problem on iTerm2 when you resize in one direction, but it does appear when you do it twice, etc., Sorry, all, but this is a terminal thing, not a P9k thing! :( |
@colbymorrison did you already found a way to fix this? I found out that using ctrl + l fixes the screen. But I don't want to do that every time I'm resizing my window. |
@danielkroon This can be fixed only by changing zsh itself. See this issue for details. |
When I change the size of the terminal the prompts go like this:
Using iTerm2 with OhMyZsh
The text was updated successfully, but these errors were encountered: