Closed ninp0 closed 3 years ago
box doesn't support multibyte characters. Try the following code to check multibyte support:
Curses.init_screen
Curses.addstr("\u2500" * 9 + "\nEnter: ")
Curses.getch
Curses.close_screen
That worked for my needs - thanks!
Despite:
window.box(' ', "\u2500")
outputs a horizontal block of gray text instead of a nice horizontal box line.
What steps are needed to display wide unicode characters using the curses gem?
I can confirm the version of ruby does properly output the unicode I expect: