-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why italics used in prompt, what does it signify? #2321
Comments
My Cmder git status prompt has never been in italics so I can't answer the question. |
Hi, sorry for the late response. After digging into the FaqBoldItalic and AnsiEscapeCodes pages per ConEmu documentation to make sure that the @noopole Your screenshot helped me understand that the Line 41 in a2e4884
In other words, this style is used to indicate Under the hood, Cmder uses the following command to detect the "dirty" state:
Also, note that you can customize the "yellow" color and the "italics" style by editing the Now here's the part that is bugging my mind, in the screenshot that is shared, it appeared that the "italics" style continues to the next line, and even passes the This should be impossible in the Cmder builds after the #2772, which is a PR I specifically made to fix the "bleeding" issue back in 2022, yet your screenshot appears to be recent. Please ensure that you are using the latest version of Cmder, in which case, the italic style is used by design to indicate the "dirty" repositories, yet it must only be applied to the git repo part, not everything that comes after it. Conclusion
|
This is not really an issue, just a question:
Sometimes, when I'm in a folder that is a git repository, the branch label becomes italic, e.g.:
(master -> origin)
What does that mean?
The text was updated successfully, but these errors were encountered: