[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ncurses] Unicode characters in menu

From: Thomas Dickey
Subject: Re: [Ncurses] Unicode characters in menu
Date: Fri, 13 Jan 2012 08:57:57 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jan 13, 2012 at 09:11:42AM +0200, Yuriy Dmitrishin wrote:
> Hello.
> Is there any way to display unicode characters as menu elements with menu
> library? I've hardly read docs but still can't find solution.

The ncurses test-programs (ncurses and demo_menus) are supposed to do this.
I recall testing the functionality by modifying the menu data to use some
UTF-8 example.  You should be able to see this work by building demo_menus
(with ncursesw/menuw) and giving the name of your menu-file from the 

        ./demo_menus utf8menus.txt

makes each line in utf8menus.txt become an entry in the "Select" menu.

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]