Skip to content

Add tab completion #55

@colonelpopcorn

Description

@colonelpopcorn

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

The terminal should be able to autocomplete or show a list of close enough items to tab through. That way you can autocomplete predefined commands. In your example, you can create an array and do a switch/case or an includes call to determine if the right command was specified. You could even have this array be an object that could have a handler attached to be run when a match is found. Just a few thoughts, this looks great, thanks!

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