oma-console 0.29.1

Console and terminal emulator handling library used by oma
Documentation

oma-console

oma-console is a utility crate that provides console functionalities for oma

It offers modules for printing stylized messages, managing pagers, displaying progress bars, and handling terminal writing utilities.

Features

  • Print: Stylized message printer with support for prefixes and automatic line wrapping.
  • Pager: Terminal pager with scrolling and searching capabilities.

Modules

  • pager: Implements a terminal pager with the crossterm and ratatui crates.
  • pb: Implements numerous styles of progress bars with the indicatif crate.
  • writer: Implements a formatted message writer to the terminal.
  • print: Implements a formatted message logger with support for different logging levels (normal, debug, error, etc.).