Skip to content
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

First bit of Tektronix support, also SGR 53/55 (overline) #23

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rbanffy
Copy link

@rbanffy rbanffy commented Nov 20, 2024

This adds a very initial support for VT-style Tektronix graphics ("CSI ?38h: Enable private mode "tektronix mode") and overline attribute support (I was learning my way around the code). Not sure how to add unit tests for those, however - might need help there

Comment on lines +92 to +95
case 53:
str += "Overline"
case 55:
str += "No overline"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are not widely supported :/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a sad thing. On the bright side, iTerm and VTE (and Konsole, and a couple others) do. Very handy for status lines.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even if they're not widely supported I can see them being useful, both from a completeness standpoint and for the sake of simply understanding what they are.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rbanffy It would be really helpful to implement these SGR arguments in x/ansi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants