concurrentoutput: Ungarble output from several threads

[ bsd3, deprecated, library, user-interfaces ] [ Propose Tags ]
Deprecated in favor of concurrent-output

This library provides a simple interface to output status messages from more than one thread.

It will continue adding information (such as dots, or "done") to the correct line and continue scrolling when a line is done.

For example, this screen:

Thread ThreadId 27: still working... done
Thread ThreadId 25: still working...
Thread ThreadId 26: still working...
_

will, once thread 25 has finished, look like this:

Thread ThreadId 25: still working... done
Thread ThreadId 27: still working... done
Thread ThreadId 26: still working...
_

If standard output is not a terminal, it will only print complete lines and not output any control characters.

At the moment, it can only handle lines that are shorter than the terminal. If they are not, output will be garbled again.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.2, 0.2.0.1, 0.2.0.2
Dependencies base (>3 && <5) [details]
License BSD-3-Clause
Author Joachim Breitner
Maintainer Joachim Breitner <mail@joachim-breitner.de>
Category User Interfaces
Source repo head: darcs get http://darcs.nomeata.de/concurrentoutput/
this: darcs get http://darcs.nomeata.de/concurrentoutput/ --tag v0.2.0.1
Uploaded by JoachimBreitner at 2011-06-08T08:30:29Z
Distributions NixOS:0.2.0.2
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 3353 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]