Clear screen on exit #4
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: thereadme/node-console-games#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi, cool games! I was playing around with it a bit and noticed the screen didn't clear when exiting (on Linux and Windows). I think this isn't wanted behaviour? I think clearing one more time on exit could solve this.
Example: Here you can see a leftover snake 🐍 while issuing a new command.
@verth: Hey! Thanks for the feedback! 👍
See if this branch works on your machine: https://github.com/mdibaiee/node-games/tree/clear-on-exit
You can make a pull-request yourself, too, if you want!
Works like a charm for me, thanks @mdibaiee !
Don't think there is a need to make a pull-request?
@verth:
d3bd75a277
Published a new version to npm, thank you!