Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^6: Unable to capture mouse events in Win32::Console

by fireblood (Scribe)
on Apr 26, 2022 at 20:15 UTC ( #11143324=note: print w/replies, xml ) Need Help??


in reply to Re^5: Unable to capture mouse events in Win32::Console
in thread Unable to capture mouse events in Win32::Console

Sounds very reasonable. The reason I had the GetEvents method first before invoking the GetInfo method is that I believed that because GetEvents returned just a single scalar, that checking it first prior to invoking Input would be more efficient than calling Input, which returns an array of values. But after reading your note, I guess that if Input does not have anything to return it does not do all the processing of assigning undefs to all of the fields that it returns.

Thanks for the link to Term::Choose, it looks very interesting.

  • Comment on Re^6: Unable to capture mouse events in Win32::Console

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11143324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-12-03 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?