ui/ncurses: Display multibyte strings correctly in textscreens