Dr.Avalanche
Dr.Avalanche

Reputation: 2006

Perl 5.8.8 - Curses interface - Multiple select - Is this possible?

A client has an old Solaris setup running 5.8.8, is it possible to have use Curses to create a multiple select UI like the following example?

From the documentation I can't identify if this is possible, there seems to be no examples.

Debian Config example:

Upvotes: 3

Views: 718

Answers (1)

Vector Gorgoth
Vector Gorgoth

Reputation: 674

My suggestion would be Curses::UI in combination with Curses::UI::Listbox, which appears to offer the functionality which you are looking for.

I am not exceedingly familiar with Curses::UI, so I can't offer better examples than are already present in the pages to which I've linked--but even if you can't use this, perhaps you can use the module code to infer how it's manipulating Curses to offer this functionality.

Upvotes: 1

Related Questions