Class Status

java.lang.Object
org.jline.utils.Status

public class Status extends Object
Manages a status bar at the bottom of the terminal.

The Status class provides functionality for displaying and managing a status bar at the bottom of the terminal. It allows applications to show persistent status information to the user while still using the rest of the terminal for normal input and output.

Key features include:

  • Support for multiple status lines
  • Styled text with ANSI colors and attributes
  • Automatic resizing based on terminal dimensions
  • Optional border between main display and status area
  • Ability to temporarily suspend the status display

The status bar is particularly useful for displaying persistent information such as:

  • Application mode or state
  • Current file or context
  • Key bindings or available commands
  • Error messages or notifications

This class is used by various JLine components to provide status information to the user without disrupting the main terminal interaction.