On Fri, 26 May 2023, Björn Persson wrote:
One way to avoid all the color issues could be to just make the prompt
bold by default. That would probably make it stand out enough in many
situations. I think it wouldn't help much for programmers compiling
software though, because GCC outputs filenames in uncolored bold text,
so even a bold prompt would blend in among the compilation errors.
Underlining or reverse video would get my vote, instead of bold.
For myself, I have a more complicated scheme that sets the prompt background colour to light grey on light terminals and dark grey on dark terminals. I find this is just enough to easily find the prompt when scrolling back, without distracting from the output I’m looking at. My instinct is that detecting the background colour too fiddly to inflict on users by default, though.
--
Peter Oliver
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue