-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New ENV command breaks SET command in tape file #503
Comments
In my PR I removed the functionality of |
Actually, PROMPT doesn't work. The bug is still accurate otherwise though, since the following tape file causes the
|
I will investigate this and attempt to fix this. |
After hours of investigation, this happens for all commands before |
Hey @Delta456, this is a documented behaviour of settings:
|
Ah, I missed that. This needs to be told when using the program IMO. Also, this issue can now be closed. |
Agreed, if a setting is ignored we should display a warning that this setting should appear at the top of the file! |
I will add this warning in my future PRs. |
This issue can be closed as #508 is merged |
Describe the bug
If you add a line like
Env PROMPT '>'
in the tape file, it has to be after anySet
commands or it will cause them to be ignored whentape
is run. (They appear in STDOUT but grayed out, and its clear from the resulting gif that they were ignored).Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
Steps to reproduce the behavior:
tape
:tape
:Source Code
See above
Expected behavior
Both tape files should work properly. Instead, the first one will create
foo.gif
but will ignore theSet Height
command. The second one will fail since theSet Height
line is not being ignored (and contains an invalid value)Screenshots
n/a
Additional context
This only occurs on the current build. The ENV command is not available in the latest release. @Delta456's #469 was merged after that.
The text was updated successfully, but these errors were encountered: