Skip to content

Instantly share code, notes, and snippets.

View juniorohanyere's full-sized avatar
💭
Available

Junior Ohanyere juniorohanyere

💭
Available
View GitHub Profile
@juniorohanyere
juniorohanyere / main.c
Last active December 13, 2023 10:09
Ncurses + Termbox
/* It's no joke as developers keep struggling with displaying unicode (emoji) characters on an Ncurses screen, I also faced it.
* After dozens of research [is it actually dozens? :)], here's what I finally came up with that brought smile to my hard research.
* At least time spent on research was not in vain. Yeah, so I'm making this gist for those C developers out there who are also on the struggle,
* and probably about to give up, but they love ncurses!! Of course, I almost gave up ncurses. Alright, the work around is below:
*
*
* ## C program to print emoji characters using Ncurses + Termbox
*
* **main.c**
*/