Skip to content

unexpected infinite autocompletion #68

@nil0x42

Description

@nil0x42

Most commands autocompletion infinitely propose arguments. When in most cases, the arguments should be only proposed when they're at position argv[1].

Example:

phpsploit> exit

This command has an unique '--force' argument.
If user presses multiple times, he ends up with a command looking like that:

exit --force --force --force --force --force --force

completion arguments should be proposed only when they are on the expected position.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementuser experienceimpacts user experience or something is confusing to newcommers

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions