Documentation

TermColor.Repl.Terminal

TermColor.Repl.Terminal #

Small terminal primitives shared by REPL loops. Model state, rendering, and submission remain callbacks supplied by the application.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Configuration for cooperative background jobs.

        Multiple submitted lines may run at the same time. The renderer remains the owner of Model and Screen; each worker returns only model state which is merged through finish when its result is drained.

        • shouldRun : Model → String → Bool
        • start : Model → String → Model
        • run : Cancellation → Model → String → IO Model
        • tick : Model → IO Model

          Poll shared background state and advance live job presentation.

        • finish : Model → Model → Model
        • cancel : Model → Model
        • fail : Model → String → Model
        Instances For

          Application keymaps #

          Instances For
            Instances For
              Equations
              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def TermColor.Repl.Terminal.run {Model : Type} (config : Config Model) :
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For