Class TerminalSize

java.lang.Object
org.strassburger.tui4j.terminal.TerminalSize

public final class TerminalSize extends Object
Utility class to get the terminal size.
  • Method Details

    • get

      public static TerminalSize.Size get()
      Attempts to get the terminal size using multiple methods.
      Falls back to a default size of 80x24 if all methods fail.
      Returns:
      the terminal Size