imj-measure-stdout

The program helps you determine the maximum capacity of your stdout buffer. It was initially developped to diagnose screen tearing issues in a terminal-based game I was developping, and more specifically, to see the effect of the following action : Using this program, I found that, on my system, the previous call quadruples stdout's capacity, from 2048 to 8192 bytes.


Keywords
bsd3, console, program, terminal, Propose Tags , addition, animation, ascii-art, ascii-game, ascii-graphics, collision, game, haskell, laser, mathematics, retrogaming
License
BSD-3-Clause
Install
cabal install imj-measure-stdout-0.1.0.2

Documentation

What is it?

The monorepo for "Hamazed" game and its packages. Build Status

The haddock documentation explains the concepts used, both on the game side and on the game engine side.

Demo

asciicast

Packages list

  • imj-game-hamazed
    • The game
  • imj-particlesystem
    • A library to create animated particle systems.
  • imj-base The "engine" library containing:
    • base classes and types,
    • geometry, text animations,
    • a "delta renderer" rendering in the terminal without screen tearing,
    • imj-base-examples-exe, a text animation demo: asciicast
  • imj-measure-stdout
    • An executable to measure the maximum capacity of stdout, and observe the effect of different buffering modes.
  • imj-prelude
    • The prelude I use in other packages.

Contributions

Contributions are welcome!

Build / Dependencies

FTGL

You need ftgl on your system, it is used to render fonts when using the OpenGL backend.

  • On OSX, you can install it using brew install ftgl

Build

You can build using stack:

stack build --pedantic

And test using

stack test --pedantic