DominicFuMJ / pe

0 stars 0 forks source link

Autocomplete does not work if there is space in front of command. #3

Open DominicFuMJ opened 6 months ago

DominicFuMJ commented 6 months ago

image.png

When I add a spacing in front of the ad in the command line, such that it is " ad", it would not do the autocomplete. It still runs the command.

image.png

nus-pe-bot commented 5 months ago

Team's Response

The original intention was to remove the spaces before the command is stored in the command history to help users to view the history easily, preventing it from being obscured. We considered the case '[spacespacespacespacespacespacespacespacespacespacespacespace] clear', where a long command with multiple spaces infront will cause the "clear" to be truncated out of the command history. We decided that this may cause more inconveniences to the user compared to storing the spaces in front of a command. Perhaps this was not documented well enough. Thanks for the catch.

Items for the Tester to Verify

:question: Issue type

Team chose [type.DocumentationBug] Originally [type.FunctionalityBug]

Reason for disagreement: [replace this with your explanation]


## :question: Issue severity Team chose [`severity.VeryLow`] Originally [`severity.Low`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]