Ungarble output from several threads or commands

LTS Haskell 22.26:1.10.21
Stackage Nightly 2024-06-22:1.10.21
Latest on Hackage:1.10.21

See all snapshots concurrent-output appears in

BSD-2-Clause licensed by Joey Hess, Joachim Breitner
Maintained by Joey Hess
This version can be pinned in stack with:concurrent-output-1.10.21@sha256:6fb5f4ba6a9376b72d23bd70ad61c9d68bb42e50f4cea06eeed1776a4379fbb2,1712

Module documentation for 1.10.21

Lets multiple threads and external processes concurrently output to the console, without it getting all garbled up.

Built on top of that is a way of defining multiple output regions, which are automatically laid out on the screen and can be individually updated by concurrent threads. Can be used for progress displays etc.