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

Using unicode symbols might be better for compatibility across different terminals #75

Open
aerosayan opened this issue Jun 9, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@aerosayan
Copy link

Hello,

I'm enjoying using the plugin.

Issue

Some default icon symbols are not shown correctly in terminator terminal on linux.

For example, the markers for the folded tabs are: markers = { '', '' }, which doesn't even render correctly on github.

Similarly, the icons for many other symbols don't render correctly even on github.

The problem persists even in my terminal, and the default symbols look horrible.

rendering-bug

12

Solution

I've found that simple Unicode characters are well supported, and work very well for common terimnal emulators on Linux, like terminator.

So I've modified the default settings to only use Unicode characters, and they seemed to work well.

Would it be possible to use such simple Unicode characters as the default, or at least, provide them as a fallback option, so the plugin works correctly out of the box?

Thanks!

rendering-correctly

@hedyhli hedyhli added the enhancement New feature or request label Jun 10, 2024
@aerosayan
Copy link
Author

Maintaining a list of the unicode characters in the repo might be helpful.

This is little bit extra work, but might be better for consistency.

Let's consider this symbol (circle with backlash): ⍉

It is U+2349

Copy pasting the characters sometimes doesn't work.

In such a situation, knowing the symbol name: U+2349 and/or the URL to a source, would be helpful.

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