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

Support styled and colored underlines #34

Open
oblitum opened this issue Dec 19, 2022 · 3 comments
Open

Support styled and colored underlines #34

oblitum opened this issue Dec 19, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@oblitum
Copy link

oblitum commented Dec 19, 2022

Hi, I'm not currently an AnotherTerm user, I'm currently using Termux. There's a feature I'm missing on Termux which you might be interested at implementing here, given that I see development is actually more active here than there at the moment.

See: termux/termux-app#870

@oblitum
Copy link
Author

oblitum commented Dec 19, 2022

I'm not sure whether AnotherTerm already supports custom fonts, Termux does, and I rely on it for having Nerd Fonts with Powerline glyphs. Sadly Termux doesn't support specific fonts for italic, etc, I can only set one regular font and bold/italic is done automatically, from what I can tell from AnotherTerm's codebase, it seems it's possible to set custom fonts, specific for bold and italic, besides the regular one?

@green-green-avk green-green-avk self-assigned this Dec 24, 2022
@green-green-avk green-green-avk added the enhancement New feature or request label Dec 24, 2022
@green-green-avk
Copy link
Owner

It is from the kitty's Terminal protocol extensions.
Why not to add? It will be done.

At the moment, you can also try this trick though:

echo -e '\e[97mX\e[1;31m\xE1\xAA\xB6\e[0m'

It uses the ability to set separate colors of the combining glyphs. (Another Term only, it seems...)
The combining glyph here is U+1AB6.

@oblitum
Copy link
Author

oblitum commented Dec 25, 2022

Eager to try your impl when it's done.

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

No branches or pull requests

2 participants