Clear screen on exit #4
Loading…
x
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!