On this page:
TUI Universal Buffers
8.16.0.4

TUI Universal Buffers🔗ℹ

Dominik Pantůček <dominik.pantucek@trustica.cz>

 (require tui/ubuf) package: tui-ubuf

This package’s API is almost stable. Use with caution.

This package provides all the universal text buffer capabilities needed for both batch processing and interactive terminal application output.

It reprovides interface procedures from appropriate modules as needed.

Construction and related:

Color management:

Drawing:

Overlay:

Output parameters and programmatic display:

Implicit display is achieved through the gen:custom-write generic interface. To display information about the buffer, use write or writeln. The same way any format-like procedures may be used with "~v" placeholder.

To output the contents of the buffer to current terminal, use simple display or displayln normally.