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

Zsh 5.7 interferes with newline #1146

Closed
quintrino opened this issue Jan 31, 2019 · 5 comments
Closed

Zsh 5.7 interferes with newline #1146

quintrino opened this issue Jan 31, 2019 · 5 comments
Labels
Projects

Comments

@quintrino
Copy link

Describe Your Issue

Since updating from Zsh 5.6.2 to 5.7 (The latest available with homebrew on Mac) the newline element appears to push the > end onto the following line.

image
Here is my console when I revert back to zsh 5.6.2
image
And here it is again after switching brew back to 5.7.

The white tip of the custom element showing ~/.dotfiles is appearing on the next line.

I also tested if it was just custom elements by setting the last element on the first line of my prompt as the os_icon

image

Have you tried to debug or fix it?

Only by reverting to 5.6.2

Environment Information

  • Works on 5.6.2, breaks on 5.7
  • My framework is zplugin which I used to install P9k
  • My P9k plugin version is 2019-01-23 6 ccdfdf Merge pull request [Bugfix] Fix for #974 #981 from pgierz/os_release_fix
  • My terminal emulator is iTerm version 3.27

Issues with Fonts & Icons

image

Seems to happen multiple times if I include multiple newline elements.

You may delete this section if your issue is not font / icon related.

  • Which font do you use?

SauceCodePowerline-Regular 11

echo $POWERLEVEL9K_MODE returns nothing but a plank line.

  • Please share the contents of $P9k/debug/font-issues.zsh.
===== Font debugging =====
You are using iTerm2 with Font SauceCodePowerline-Regular 11

Your font settings seem to be all right. If you still have issues,
it is more likely to be a font issue than a Powerlevel9k related one.
  • If this is an icon problem, does the output of $ get_icon_names look correct?

POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX: ╭─
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX: ╰─
POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_PREFIX: ├─
POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR: 
POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR: 

using get_icon_names to view the above appear to be consistent across both 5.7 and 5.6.2

@nicolasmeric
Copy link

I have the same issue on debian sid.

@panosru
Copy link

panosru commented Feb 1, 2019

same here..

used to look like this:
image

now looks like this:
image

@dritter
Copy link
Member

dritter commented Feb 1, 2019

Thanks for the report @quintrino . I'll try to Backport the fix from the next branch asap.

@dritter dritter added this to To do in v0.6.7 via automation Feb 1, 2019
@dritter dritter added the master label Feb 1, 2019
@panosru
Copy link

panosru commented Feb 1, 2019

@dritter sorry for late reply, it works like a charm! Thanks for your effort!

@dritter
Copy link
Member

dritter commented Feb 1, 2019

Thanks everyone for testing. Fixed via #1147

@dritter dritter closed this as completed Feb 1, 2019
v0.6.7 automation moved this from To do to Done Feb 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
No open projects
v0.6.7
  
Done
Development

No branches or pull requests

4 participants