HimDek / Acenoster-ZSH-Theme

A multipurpose ZSH Theme with very detailed git and mercurial prompt.
https://himdek.com/Acenoster-ZSH-Theme
MIT License
13 stars 1 forks source link

line-wrap is clipping last character #3

Open Qaus-Sphene opened 3 months ago

Qaus-Sphene commented 3 months ago

Screenshot_20240526_062606

it doesn't appear to matter how wide i have my terminal window set, that last character is always line-wrapped back to the left side. also tried messing with font sizes, no effect.

HimDek commented 3 months ago

Thats weird. Why do you have a git repo on your home? And What is the name of the branch?

HimDek commented 3 months ago

Also make sure that you are using monospace fonts only.

Qaus-Sphene commented 3 months ago

i'm not sure why i have a git repo on my home, i don't even know what/where it is. i'm definitely using a monospace font

HimDek commented 3 months ago

Fixed reinstall and if the issue persists, remove or comment git-prompt from plugins in the file ~/.zshrc

plugins = (
  ...
  #git-prompt
  ...
)
Qaus-Sphene commented 3 months ago

it's still there even after reinstalling and commenting out git-prompt Screenshot_20240526_114745

Qaus-Sphene commented 3 months ago

fixed it myself by changing line 443 local spaces=$((COLUMNS-len)) to say local spaces=$((COLUMNS-len-1))

HimDek commented 3 months ago

fixed it myself by changing line 443 local spaces=$((COLUMNS-len)) to say local spaces=$((COLUMNS-len-1))

Not really a fix, but a workaround. So reopening the issue.