Open a1021492980 opened 2 years ago
Our team has tried to replicate the issue. This issue occurs when you use the Up arrow key on MacOS which produces ^[[A on the terminal. This messes up the system in the following commands. We believe this is considered extreme behaviour which would be hard to work against.
Team chose [response.Rejected
]
Reason for disagreement: As mentioned in the lecture, it is the developers' responsibility to ensure the software is working on different system. And this issue can be easily caught by pre-define the '^[[A' and throw error messages when user input contains it.
Furthermore, it is also the team's responsibility to warn the user not to enter '^[[A' if they are MacOS users.
It clearly shows that the developer team did not think of any potential edge case bugs.
I am using MacOS.
First, I added a item named '^[[A^[[A'
Then search for it using 'search n/^[[A^[[A'
The mass occurs