-
I'm using a select prompt along with an AbortSignal and Promise.race to implement a timeout. I would like to be able to detect if the user has interacted with the prompt in any way (by pressing arrow keys, for example), and cancel my timeout in that case. Is there any way do this keypress detection right now, or something similar, without forking the select control? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
SBoudrias
Jul 31, 2025
Replies: 1 comment 1 reply
-
Unfortunately not at the moment. I'm open to API suggestions to achieve this goal. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dimfeld
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately not at the moment. I'm open to API suggestions to achieve this goal.