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

Why does the prompt on the right overflow to the next line? #1386

Open
fandean opened this issue Dec 8, 2019 · 8 comments
Open

Why does the prompt on the right overflow to the next line? #1386

fandean opened this issue Dec 8, 2019 · 8 comments

Comments

@fandean
Copy link

fandean commented Dec 8, 2019

I'm just moving vcs from the left to the right.

Why does the prompt on the right overflow to the next line?

Environment Information

  • windows 10 : wsl
  • zsh --version : zsh 5.4.2 (x86_64-ubuntu-linux-gnu)
  • Oh-My-ZSH
  • install P9k (cloning the repo )
  • terminal emulator: Cmder
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true

# LEFT_PROMPT
# ==============================
#POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon time dir dir_writable vcs)
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon time dir dir_writable)
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=" $ "
POWERLEVEL9K_WHITESPACE_BETWEEN_LEFT_SEGMENTS=' '
POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR=' '

# RIGHT_PROMP
# ================================
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(vcs)
#POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status)

POWERLEVEL9K_MODE='nerdfont-complete'
ZSH_THEME='powerlevel9k/powerlevel9k'
@kuretru
Copy link

kuretru commented Jan 21, 2020

Same issue here.

@dgdosen
Copy link

dgdosen commented Jan 29, 2020

I've got this issue too - and it's incredibly irritating

I get this issue when I use tmux and powerlevel9k. Sometimes, the bottom line of my neovim window pushes up, along with every other line in the vim window, and redraws that bottomline, so now there are two of them - and I need to quit to 'reset' everything

There seems to be an issue with powerlevel9k, coc and tmux all making changes to that part of the screen...

Screen Shot 2020-01-29 at 1 22 45 PM

Any ideas?

Environment Information
macos 10.15.2
oh-my-zsh
iterm2 v3.3.7

@romkatv
Copy link

romkatv commented Jan 29, 2020

@dgdosen Do you believe the problem you are experiencing is related to the issue you are commenting on? If so, why?

@romkatv
Copy link

romkatv commented Jan 29, 2020

Just to clarify, the original issue is simply about a bug in Cmder. Cmder is unable to properly display characters that are classified as "wide" in the Unicode standard. It has nothing to do with tmux, zsh, powerlevel10k or vim. Just a Cmder bug.

What you report seems something else, right?

@dgdosen
Copy link

dgdosen commented Jan 29, 2020

this is more general -but looks similar - I'm just getting the upward shifts in tmux/powerlevel9k. If I'm editing a line in vim, my pointer stays in the same place, but the underlying text shifts up as well...

@romkatv
Copy link

romkatv commented Jan 29, 2020

Pretty sure it's a different issue.

@dgdosen
Copy link

dgdosen commented Jan 29, 2020

I agree - I think my issue was caused by using common dotfiiles across machines, and having powerlevel9k installed differently in each case (on macs)...

-- so ignore these :)

@jckling
Copy link

jckling commented Feb 2, 2020

Same problem :(

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

5 participants