Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 946 forks source link

[Bugfix] Escape control characters #1329

Closed dritter closed 5 years ago

dritter commented 5 years ago

This is a backport of 5446c1f51e01af8d73e93f4fa6b7b9ba1df7ce8f . I removed the __p9k_unsafe_PROMPT, as this is not necessary any more and Romans solution is more flexible. This fixes #1310

Syphdias commented 5 years ago

This looks promising, I hope the old workaround bites the dust soon.^^