1
0
Fork 0
mirror of https://github.com/p-e-w/heretic.git synced 2026-12-03 18:42:57 +07:00

[GH-ISSUE #63] A little fix #31

Closed
opened 2026-11-01 04:16:46 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Vinay-Umrethe on GitHub (Dec 2, 2025).
Original GitHub issue: https://github.com/p-e-w/heretic/issues/63

When I implemented the Notebook compatiblity feature to heretic I acutally had this done, but due to many reverts done due to additional features that was not needed that time, this was also accidentally removed I Noticed:

at main.py line 572

if you can just replace the line with this:

                                if not message or message.strip().lower() == "/exit":

Instead of

                                if not message:

SO users can easily exit and return to menu once they are done testing a trial and try another, else would loose all trials. (this is for notebook, ctrl+c would work for terminal users normally)

Can you just simply change this one line of code to fix it?

Originally created by @Vinay-Umrethe on GitHub (Dec 2, 2025). Original GitHub issue: https://github.com/p-e-w/heretic/issues/63 When I implemented the Notebook compatiblity feature to `heretic` I acutally had this done, but due to many reverts done due to additional features that was not needed that time, this was also accidentally removed I Noticed: at `main.py` line 572 if you can just replace the line with this: ```python if not message or message.strip().lower() == "/exit": ``` Instead of ```python if not message: ``` SO users can easily exit and return to menu once they are done testing a trial and try another, else would loose all trials. (this is for notebook, ctrl+c would work for terminal users normally) **Can you just simply change this one line of code to fix it?**
Author
Owner

@p-e-w commented on GitHub (Dec 3, 2025):

Sure, I'll do that when I prepare the next release. I'm currently finishing one last feature and then that is happening anyway.

Edit: Actually, doesn't simply pressing Enter already exit and return to the menu?

<!-- gh-comment-id:3604678094 --> @p-e-w commented on GitHub (Dec 3, 2025): Sure, I'll do that when I prepare the next release. I'm currently finishing one last feature and then that is happening anyway. *Edit:* Actually, doesn't simply pressing Enter already exit and return to the menu?
Author
Owner

@Vinay-Umrethe commented on GitHub (Dec 3, 2025):

Ohh yes it does actually, I never just tried that or forgot thanks. Having Print line Press CTRL+C OR Enter would have been good but ok...

<!-- gh-comment-id:3608435722 --> @Vinay-Umrethe commented on GitHub (Dec 3, 2025): Ohh yes it does actually, I never just tried that or forgot thanks. Having Print line `Press CTRL+C OR Enter` would have been good but ok...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
p-e-w/heretic#31
No description provided.