Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore escape sequences #77

Open
NSExceptional opened this issue Jun 10, 2022 · 1 comment
Open

Ignore escape sequences #77

NSExceptional opened this issue Jun 10, 2022 · 1 comment
Labels

Comments

@NSExceptional
Copy link

For example, I have a text input on my screen, but I want to do something when the user presses ^D. I don't want that d to go into the text input.

I don't control the text input so I can't wrap useInput... is what I want to do possible? I feel like if it's not, it should be :)

@vadimdemedes
Copy link
Owner

Hm yeah, I think escape sequences should be ignored in useInput. Going to mark this one as a bug.

@vadimdemedes vadimdemedes changed the title Is there a way to capture input from useInput and somehow block it from passing to other useInput calls? Ignore escape sequences in useInput Jul 24, 2022
@vadimdemedes vadimdemedes transferred this issue from vadimdemedes/ink Mar 28, 2023
@vadimdemedes vadimdemedes changed the title Ignore escape sequences in useInput Ignore escape sequences Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants