puppylinux-woof-CE / woof-CE

woof - the Puppy builder
GNU General Public License v2.0
391 stars 281 forks source link

{jammy64, noble64}: Fix bash's prompt (PS1) #4251

Closed lakshayrohila closed 6 months ago

lakshayrohila commented 6 months ago

Older PS1 did not enclose non-printable characters such as \033[0m, which stayed there for color, in \[....\]. This caused such issues when run in lxterminal:

https://github.com/puppylinux-woof-CE/woof-CE/assets/103126231/4df1c235-fbcd-4921-b971-e67626aa9279

This newer version fixes the issue:

https://github.com/puppylinux-woof-CE/woof-CE/assets/103126231/7cb8f824-c2ad-4526-893b-92b256dd5dd9

(sorry for the video being slightly shifted)