Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Changing Terminal Size Causes Erratic Prompt Behavior #881

Closed
colbymorrison opened this issue Jun 22, 2018 · 6 comments
Closed

Changing Terminal Size Causes Erratic Prompt Behavior #881

colbymorrison opened this issue Jun 22, 2018 · 6 comments

Comments

@colbymorrison
Copy link

When I change the size of the terminal the prompts go like this:
recording 1

Using iTerm2 with OhMyZsh

@warpedgeoid
Copy link

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.

@V1a9
Copy link

V1a9 commented Jul 2, 2018

Having the same issue in tilix terminal v 1.8.1 with OhMyZsh on elementary OS loki.

@xufab
Copy link
Contributor

xufab commented Jul 23, 2018

Same issue with Terminator

@bhilburn
Copy link
Member

bhilburn commented Oct 8, 2018

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! :(

@danielkroon
Copy link

@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.

@romkatv
Copy link

romkatv commented Dec 12, 2019

@danielkroon This can be fixed only by changing zsh itself. See this issue for details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants