Suggestion: update choose
to support mouse clicks
#273
Labels
enhancement
Improvement or suggestion
PR / Bounty only
External demand, as such, external funding / effort is required to make this happen
Milestone
Here's the ANSI escape code for getting mouse events:
Here's using it, with the reporting turned off afterwards, otherwise mouse events will still continue to be captured:
One must then know how to parse the responses, which occurs for scrolls and clicks. Example output:
Could be implemented in
read-key
with an optional--mouse
flag, in which case it could be translated to say:The text was updated successfully, but these errors were encountered: