Class ConsoleWidthGuesser

Object
com.owenfeehan.pathpatternfinder.describer.ConsoleWidthGuesser

public class ConsoleWidthGuesser
extends Object
Guesses how many characters exist in a single line of the console.
Author:
Owen Feehan
  • Method Details

    • determineConsoleWidth

      public static int determineConsoleWidth()
      Guesses the width (in characters) of the console.
      Returns:
      a guess (or a fallback constant) of the width of the console.