ExZhonya / Codes

simple coding made by highschooler
2 stars 2 forks source link

Use `click.clear` to clear the terminal #3

Open ShubhamVG opened 1 week ago

ShubhamVG commented 1 week ago

I use click.clear to clear my terminal screen, whenever I need to clear the terminal. You shouldn't have to install python to use it either. Just the simple

import click
click.clear()
# or if you only want clear, then
from click import clear
clear()
ShubhamVG commented 1 week ago

BTW, I know that I should have DM on Discord your repo comes to front whenever I am logged into GitHub so it is just more convenient. Just open this issues tab from time to time. This is not an issue anyway but just a suggestion as I've seen a clear function being defined in multiple places.

Close this issue after trying out click.clear and use it in your project or not, that is for you to decide.