ansi

Module fmt

source
Expand description

A crate for containing various ANSI formatting elements.

This is organized into two sub-modules: [bg] for background colors, and [fg] for foreground colors. Root level formatting operations like bolding, font-style, etc are all in this fmt root module.

Modules§

  • The bg module provides specific format attributes that apply to background elements.
  • The fg module provides specific format attributes that apply to foreground elements.

Constants§

  • Bold or increased intensity.
  • Conceals or hides the text.
  • Faint, decreased intensity, or dim.
  • Makes text italicized.
  • Sets blinking to more than 150 times per minute.
  • All attributes become turned off.
  • Reveals previously concealed or hidden text.
  • Sets blinking to less than 150 times per minute.
  • Crosses out/strikes through text.
  • Underlines the text.