Package main.utils.ui

Class ChangePage

java.lang.Object
main.utils.ui.ChangePage

public class ChangePage extends Object
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 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".