We considered using colours and other markers such as bold text, but that opens a considerable can of worms with detecting in all systems and configurations if that can be done. I have been told that some of these situations are quite tricky and is not as easy as checking for tty support.
If someone wants to contribute a way to detect reliably (in C) if the terminal supports ANSI colours, I'm happy to consider switching to that instead of the underlying. On Tue, 18 Jan 2022, 19:13 Ethan Furman, <et...@stoneleaf.us> wrote: > On 1/18/22 10:43 AM, Mats Wichmann wrote: > > > A thought - how about omitting the underline line if the > > to-be-underlined part would be the whole line? > > I would also like that change -- when the underlining is a portion of the > whole it's quite useful, but when it's the > whole line it's a lot of extra noise. > > In fact, if I can be permitted to dream for a moment, what would be really > nice is using highlighting or bolding or some > such and skipping the extra underline lines (where "underlining" means > "extra line with pointy hats"). > > ~Ethan~ > _______________________________________________ > Python-Dev mailing list -- python-dev@python.org > To unsubscribe send an email to python-dev-le...@python.org > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/python-dev@python.org/message/JYC5D3L6QW7V3ZOWMTBLYIGUQ6UOMS2U/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/PVQOEYH4JK5I4LP4JKREYC63R4CI2KML/ Code of Conduct: http://python.org/psf/codeofconduct/