-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
I created two TextInputs, both update simultaneously #36
Comments
There's actually <TextInput focus={false}/> If you pass |
Cool, thanks, that works! And I guess I have to go to rawmode to allow watching for a tab character (or figure out some other way) to allow the user to switch focus? |
Exactly, user input without raw mode isn't possible. |
Both are rendered, but when the code runs, there is a cursor in each one, and whatever I type shows up in both. There also doesn't seem to be any way to change focus (sorry, I'm new to Ink!).
Here's the code. There are two files,
index.js
:And
App.js
, where the two TextInputs are created and used:The text was updated successfully, but these errors were encountered: