Class Term

java.lang.Object
eu.bandm.tools.graficUtils.Term

@EnvironmentDependency("TERM") public class Term extends Object
Access to the current terminal info, as provided by the Operating system.
  • Field Details

  • Method Details

    • getEnvironment

      @Opt public static @Opt String getEnvironment()
      Evident.
    • hasVt100Colors

      public static boolean hasVt100Colors()
      Returns whether the ANSI-Escape sequences as defined in Vt100 are applicable. This is a heuristics, because different terminal names are in use across all operating systems, and likely not all names are recognized here.