You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [...]
When restoring files using trash-restore, users are asked which files they would like to restore, and are able to enter a number. If there is only one option, 0 is the only input option. The behavior is unclear when return is pressed, without entering a number. With no input other than hitting enter, the program exits, printing out nothing, with a successful exit code (0). It is unclear whether or not the file is restored.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
A few options to mitigate this confusion are:
exit with a non-zero exit code -- this would show that the trash-restore has failed to restore any files
print out "No files restored" or something similar to the console -- this clarifies that nothing happened
describe the behavior of simply pressing return when options are given in the prompt (i.e. "What file to restore: [0..9] (hit return to cancel):
Describe the solution you'd like
A clear and concise description of what you want to happen.
In my opinion, the best option would be to implement all three of my proposals.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
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 [...]
When restoring files using trash-restore, users are asked which files they would like to restore, and are able to enter a number. If there is only one option, 0 is the only input option. The behavior is unclear when return is pressed, without entering a number. With no input other than hitting enter, the program exits, printing out nothing, with a successful exit code (0). It is unclear whether or not the file is restored.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
A few options to mitigate this confusion are:
Describe the solution you'd like
A clear and concise description of what you want to happen.
In my opinion, the best option would be to implement all three of my proposals.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: