jrincayc / ucblogo-code

Berkeley Logo interpreter
https://people.eecs.berkeley.edu/~bh/logo.html
GNU General Public License v3.0
182 stars 34 forks source link

If LOADPICT is run before other turtle graphics commands, nothing is drawn #134

Closed dmalec closed 2 years ago

dmalec commented 2 years ago

The following assumes a valid picture has been saved using SAVEPICT

Running LOADPICT before running other turtle graphics commands results in an empty screen: Screen Shot 2022-06-25 at 2 32 04 PM

If the command FD 0 (functionally a no-op) is run first, then LOADPICT draws as expected: Screen Shot 2022-06-25 at 2 32 24 PM

I have a code change which I believe addresses the issue - I'll submit a PR with it.

Test Environment