nsf / termbox-go

Pure Go termbox implementation
http://godoc.org/github.com/nsf/termbox-go
MIT License
4.66k stars 372 forks source link

can it support emoji #242

Open DoMySon opened 2 years ago

DoMySon commented 2 years ago

sometime i need show the emoji to the terminal,it's look so cool.

nsf commented 2 years ago

Termbox just sends unicode symbols for the terminal to render. There are some emojis in unicode. The rest is up to the terminal. Just google "emoji in linux terminal", there are some guides about using custom fonts and so on, e.g. https://askubuntu.com/questions/781851/use-emoji-inside-terminal.

However, I never tried it, and there might be character width related problems with it.