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

feature: underline styles #697

Merged
merged 1 commit into from
Mar 4, 2024
Merged

feature: underline styles #697

merged 1 commit into from
Mar 4, 2024

Conversation

gdamore
Copy link
Owner

@gdamore gdamore commented Mar 4, 2024

This supports now curly, double, dashed, and dotted underline styles where trhe terminal supports it. This works well on Windows Terminal, reasonably on iTerm2, Alacritty, Kitty, and probably others.

The wasm mode terminal includes support for this, dependent on the browser capabilities.

The macOS Terminal just changes the background color. Legacy Windows console does nothing.

We will try to provide a regular underscore as a fallback. A new style.go demo is included to see some style combinations.

This supports now curly, double, dashed, and dotted underline styles
where trhe terminal supports it.  This works well on Windows Terminal,
reasonably on iTerm2, Alacritty, Kitty, and probably others.

The wasm mode terminal includes support for this, dependent on the browser
capabilities.

The macOS Terminal just changes the background color.  Legacy Windows
console does nothing.

We will try to provide a regular underscore as a fallback.  A new style.go
demo is included to see some style combinations.
@gdamore gdamore merged commit 1fb8cfe into main Mar 4, 2024
4 checks passed
@gdamore gdamore deleted the gdamore/curly branch March 4, 2024 03:04
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.

1 participant