-
Notifications
You must be signed in to change notification settings - Fork 1
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
Emoji Support? #3
Comments
Hello User! :) I was hoping you would turn up some time, but I archived the old repo and could not comment again on mitchellwrosen/termbox-banana#3 I believe the behavior you are seeing is documented on
We just call The rationale for this was essentially just to simplify the model of a scene, which is a 2d grid of 1x1 cells. It's much easier to make a function that "draws a string" in user-space by getting the column arguments from string :: Int -> [Char] -> Termbox.Scene
string row cs =
let f (col, c) = Termbox.cell Termbox.Pos{row,col} (Termbox.char c)
in foldMap f (zip [0..] cs) That said, it'd probably be better to replace wide characters with |
Oh, sweet! I think I'll reopen this issue just to mull over whether we should actually support wide characters after all. I'm leaning towards yes. |
(Is that yellow thing in the bottom right of your screenshot intentional?) |
It's the keyboard controlled cursor :) |
I've begun work on |
Hello, it's me again :)
Sorry again for confusing your API last time, cool new Repository layout however!
I was testing Emoji support, because i wanted to build a Tui-enabled version of my other project: https://github.com/arnemileswinter/jungle-chess
However, using, for example, '⭕' for a termbox cell resulted in this cell being empty - also my bg color property is ignored, the cell just turns invisible. Classic ascii works.
I've used
TB.cell ... (TB.Char ...)
for this.I didn't open the issue on the mother-project because i didn't get to test it on frontends other than haskell yet.
Thanks in advance!
The text was updated successfully, but these errors were encountered: