Open the-reefshark opened 3 years ago
This is the intended behaviour of the feature.
The command recall feature only stores successful commands.
In the case where a typo was made and an error as shown occured, the user can edit the message directly without need for using the command recall feature.
In addition, the command with the typo is the current command and hence after pressing up we retrieve the previous command.
If the user has accidentally pressed the up arrow, he/she can press the down arrow key to retrieve this current command and edit it.
Therefore, there is no inconvience caused to the user.
Severity is lowered since no inconvience is caused to the user.
Team chose [response.Rejected
]
Reason for disagreement: I disagree with this as I feel that in most other applications especially the unix terminal (where I believe this feature was inspired from) the behaviour is such that the user is able to recall mistyped commands and an argument can be made that users are more likely to want to recall a command that they have mistyped instead of re-typing a successfully executed command. And as for this being the desired feature of the application, this behaviour is not stated in the user guide which states that the arrow keys can be used to "navigate around previously entered commands" without stating that this is only applicable for successfully executed commands. I feel this is a problem as most users of this CLI application, that likely are terminal users as well will feel confused by this implementation.
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: [replace this with your explanation]
Upon executing an incorrect command, it is not possible to recall that command eg. in a case where you made a typo and want to fix it, it will instead recall the last command that was successful. This is also not mentioned in the User Guide section that describes this feature.
After executing this incorrect command:
When I try to recall:
I instead get the last successful command