Is your feature request related to a problem? Please describe.
I'm trying to simulate a command execution that takes several inputs throughout its lifecycle. To give a more realistic feel to the simulation, I want to toggle the input prompt off while the command is executing and doesn't require any input, however, as soon as an input is required I turn the input prompt on.
Describe the solution you'd like
A state that enables/disables the input prompt.
Describe alternatives you've considered
I would probably have to use a use effect hook to hide/show the input element, but it would be more convenient if this solution can be implemented.
Is your feature request related to a problem? Please describe. I'm trying to simulate a command execution that takes several inputs throughout its lifecycle. To give a more realistic feel to the simulation, I want to toggle the input prompt off while the command is executing and doesn't require any input, however, as soon as an input is required I turn the input prompt on.
Describe the solution you'd like A state that enables/disables the input prompt.
Describe alternatives you've considered I would probably have to use a use effect hook to hide/show the input element, but it would be more convenient if this solution can be implemented.