Skip Menu |
 

This queue is for tickets about the Curses-UI CPAN distribution.

Report information
The Basics
Id: 16194
Status: new
Priority: 0/
Queue: Curses-UI

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Download (untitled) / with headers
text/plain 1002b
I recently noticed that an app I wrote with Curses::UI wasn't behaving as expected. Basically, I'm wondering how to bind to C-v and M-v (emacs like keys). Using the literal "\cV" as for other controls doesn't quite work because the keyboard doesn't seem to be in the right mode; you have to issue the sequence twice, the first escapes. I suppose a user could try to tweak the mode themselves but it seems like something that the module should do. M-v is another matter entirely, I had "\eV" originally and I thought it worked but it doesn't seem to be. If I enable debug I see that the first invocation is lost and subsequent ones are simply logged as DEBUG: get_key() -> [v] The closest thing I've found is in tigerlily's LC::UI::Native, another Curses interface class. However the C- and M- syntaxes used there don't seem to work with Curses::UI despite not being implemented anywhere in LC::UI Show quoted text
PS> this is broke in .92 and .95, for some reason the select box doesn't show versions after 0.92


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.