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

emojis on raspberry pi #39

Open
careyjames opened this issue Oct 30, 2023 · 3 comments
Open

emojis on raspberry pi #39

careyjames opened this issue Oct 30, 2023 · 3 comments

Comments

@careyjames
Copy link
Owner

need a solution for emojiis to display on raspberry pi.

https://raspberrypi.stackexchange.com/questions/104181/colored-emojis-in-chromium
failed, or I suck.

https://gist.github.com/alhafoudh/b27870eb92542d3da6453b1a64652089
failed, or I suck again.

There might be a need to add a fallback mechanism for systems that don't support emojis.
but I want to figure this out.

@careyjames
Copy link
Owner Author

sudo apt install alacritty
this worked on raspberry pi 4

@careyjames
Copy link
Owner Author

ok, kinda worked...

@empeje
Copy link
Collaborator

empeje commented Oct 31, 2023

We can use ascii and use the code like the following to set the colo:

return fmt.Sprintf("\033[38;5;2m%s\033[0m", text)

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

No branches or pull requests

2 participants