bczsalba / pytermgui

Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
https://ptg.bczsalba.com
MIT License
2.23k stars 54 forks source link

Add overline support #7

Closed rbanffy closed 2 years ago

rbanffy commented 2 years ago

An overline attribute is useful for status lines and as a divider that occupies no space, similar as the underline attribute, but that's defined on the line below the divider.

This attribute is supported by terminals based on VTE and QTermWidget. It's also supported by Microsoft's Windows Terminal.

Example rendered with Gnome Terminal

bczsalba commented 2 years ago

Thank you! I had no idea that was a thing.

Edit: Just checked, and my terminal, Kitty, does not support this. Will add a note to the API.

rbanffy commented 2 years ago

I like it for status lines. My favorite terminals (the IBM 3270 series) used that. Not all terminals support it, sadly, but, at least for the ones currently being developed, we can always suggest it.

And, with software that supports it, it's easier to argue.

On Fri, Jan 7, 2022 at 11:32 PM bczsalba @.***> wrote:

Thank you! I had no idea that was a thing.

— Reply to this email directly, view it on GitHub https://github.com/bczsalba/pytermgui/pull/7#issuecomment-1007819515, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABNDCVNQ4GPQBNNTJ5MSQDUU5ZZXANCNFSM5LPZDKWA . You are receiving this because you authored the thread.Message ID: @.***>

-- Ricardo Bánffy http://about.me/rbanffy

bczsalba commented 2 years ago

Fair points all around! I tried to get blink support suggested into Kitty a couple months back, but the developer seemed quite against the idea sadly. Not sure how this would go, but it's worth a try!