tblite
Light-weight tight-binding framework
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
tblite_context_terminal::context_terminal Interface Reference

Colorizer class for handling colorful output in the terminal. More...

Public Member Functions

type(context_terminal) function new_terminal (use_color)
 Create a new colorizer object.
 

Data Fields

type(color) reset = color()
 
type(color) bold = color()
 
type(color) dim = color()
 
type(color) italic = color()
 
type(color) underline = color()
 
type(color) blink = color()
 
type(color) reverse = color()
 
type(color) hidden = color()
 
type(color) black = color()
 
type(color) red = color()
 
type(color) green = color()
 
type(color) yellow = color()
 
type(color) blue = color()
 
type(color) magenta = color()
 
type(color) cyan = color()
 
type(color) white = color()
 
type(color) bg_black = color()
 
type(color) bg_red = color()
 
type(color) bg_green = color()
 
type(color) bg_yellow = color()
 
type(color) bg_blue = color()
 
type(color) bg_magenta = color()
 
type(color) bg_cyan = color()
 
type(color) bg_white = color()
 
type(color) bold_black = color()
 
type(color) bold_red = color()
 
type(color) bold_green = color()
 
type(color) bold_yellow = color()
 
type(color) bold_blue = color()
 
type(color) bold_magenta = color()
 
type(color) bold_cyan = color()
 
type(color) bold_white = color()
 

Detailed Description

Colorizer class for handling colorful output in the terminal.

Constructor for the colorizer.

Member Function/Subroutine Documentation

◆ new_terminal()

type(context_terminal) function tblite_context_terminal::context_terminal::new_terminal ( logical, intent(in) use_color)

Create a new colorizer object.

Parameters
[in]use_colorEnable color output
Returns
New instance of the colorizer

The documentation for this interface was generated from the following file: