Created
August 19, 2020 11:09
-
-
Save ASHWIN990/0c7223cd5b6ffcd657ff9ae008612dde to your computer and use it in GitHub Desktop.
clear the screen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(int argc, char const *argv[]) | |
{ | |
printf("\033[2J\033[1;1H"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using clear you cannot see the cleared screen but using this you can scroll through the cleared screen