-
Notifications
You must be signed in to change notification settings - Fork 39
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
[BUG] Italic and strikethrough doesn't seem to work #46
Comments
I assume it's because Termbox doesn't support it - though https://github.com/nsf/termbox-go/blob/5c94acc5e6eb520f1bcd183974e01171cc4c23b3/api_common.go#L155 - but it seems weird that they don't do that.. :/ |
From a quick search it seems like Italic and Strikethrough are not supported in some shells or work different and thus some shell will have wired art affects when using then, that's why they seem to be not supported. But there is some hope, we are trying to switch to a different underlying library named tcell instaid of termbox to fix some issues like yours but this will take time and sadly strikethrough and italic are both not supported yet in tcell. If you want to know how far we are with switching to tcell and testing it see this PR: #45 |
Yeah i saw that tcell had the same problem. Do you need any small development help regarding the switch to Tcell? i need to create another PR for my hacktoberfest, and would gladly help here. It seems that tcell have an open fork with both strikethrough and italic, so maybe we'll see it soon. i hope :D |
If you want to help with #45 a pr is always welcome! Make sure to fork my fork and create a pr there, the tcell branch was created in my fork to keep this repo clean |
will do! |
Completely unrelated to this particular issue, but I just wanted to drop by and say that it's awesome to see you guys organize and fill the gap to push gocui further. Very much appreciated ❤️ |
Describe the bug
So i've been trying to produce italic font for quite some time, and trying to debug why it wouldn't display on my gocui application, but it seems to be a general problem with gocui - and I realized that you don't use neither in your example - so I realized the problem might be on your end. But i cant fathom what can possibly be the cause of it.
To Reproduce
the following doesn't use strikethrough or italic on my end.
Expected behavior
ANSI italic and strikethrough works.
Screenshots
image <- this picture should italic and strikethrough, but only has underscore and reverse
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: