Skip to content

Allow input toggle #32

@drageelr

Description

@drageelr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions