Skip to content

Conversation

@maozdemir
Copy link

@maozdemir maozdemir commented Aug 26, 2023

Hi Yusuf, it's Alper. Good to see you here! It's been a while since you told me about this code, and I'm glad to have the opportunity to get my hands on it finally.

This commit addresses the issue where the "show" command in the TermiC script was not displaying the entire code. The issue was that the script would only "save" the code for "show" to display if there was no output. This behaviour also affects the core functionality, because the script appends the new prompts into the persistent file instead of the temporary one, which will result in not including the previous outputting codes even if more lines are added. I am not sure if this is an intended behaviour, with the consideration that printing could be used for debugging only and maybe you wouldn't want them in your final code in some cases.

Changed it so that it'll save if there's an output too.

This PR fixes #14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some code running but not saved

1 participant