class RunningState(enableTicker: Boolean, promptUpdaterThreadInterrupt: () => Unit, clearOnPause: () => Unit, synchronizer: AnyRef)
Manages the paused/unpaused/stopped state of the prompt logger. Encapsulate in a separate class because it has to maintain some invariants and ensure bookkeeping is properly done when the paused state change, e.g. interrupting the prompt updater thread and clearing the screen when the ticker is paused.
Manages the paused/unpaused/stopped state of the prompt logger. Encapsulate in a separate class because it has to maintain some invariants and ensure bookkeeping is properly done when the paused state change, e.g. interrupting the prompt updater thread and clearing the screen when the ticker is paused.