Package main.utils.ui
Class ChangePage
java.lang.Object
main.utils.ui.ChangePage
The ChangePage class is responsible for changing the console output screen to a new blank screen.
This is done using the appropriate command depending on the operating system.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Changes the console output screen to a new blank screen.
-
Constructor Details
-
ChangePage
public ChangePage()
-
-
Method Details
-
changePage
public static void changePage()Changes the console output screen to a new blank screen. This is done using the appropriate command depending on the operating system. The command for Windows is "cls", and for Unix-like systems it is "\033[H\033[2J".
-