ace-dent / picotracker

Track boogs for Picotron (unofficial)
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

[BUG] Unknown Terminal commands can hard crash the application #11

Closed ace-dent closed 5 months ago

ace-dent commented 5 months ago

Describe the bug / feature When entering an unknown command with parentheses in Terminal, the entire application will hard crash. This is problematic, as we are all New and trying to figure out / remember commands.

To Reproduce Steps to reproduce the behavior:

  1. Go to Terminal and enter foo.
  2. The Terminal correctly warns the user command not found.
  3. But when entering foo() or foo"", the Picotron application will hard crash with no user feedback.

Expected behavior The Terminal should handle unknown commands and report the issue gracefully.

Software (please complete the following information):

ace-dent commented 5 months ago

Re-tested with release v0.1.0c on macOS. Not fixed. Still crashes.

ace-dent commented 5 months ago

Fixed! Tested with release v0.1.0d on macOS. Now produces a runtime error message and does not crash unexpectedly. 🎉