ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_strANSI Module Reference

This module contains procedures and generic interfaces for styling strings according for display on DEC VT100 or compatible terminals. More...

Data Types

type  styleSeq_type
 This is the styleSeq_type Parameterized Derived Type (PDT) for styling Fortran scalar strings of arbitrary kinds according to the conventions set by the ANSI. This derived type contains only a minimal subset of the standard recognized by the terminals and terminal emulators, in particular, DEC VT100. More...
 

Variables

character(*, SK), parameter MODULE_NAME = "@pm_strANSI"
 
character(4, SK) bold = ESC//"[1m"
 The ANSI escape code that makes subsequent texts appear bold/bright. More...
 
character(4, SK) bright = ESC//"[1m"
 The ANSI escape code that makes subsequent texts appear bold/bright. More...
 
character(4, SK) dim = ESC//"[2m"
 The ANSI escape code that makes subsequent texts appear dim. More...
 
character(4, SK) italic = ESC//"[3m"
 The ANSI escape code that makes subsequent texts appear italic. More...
 
character(4, SK) underlined = ESC//"[4m"
 The ANSI escape code that makes subsequent texts appear underlined. More...
 
character(4, SK) blinking = ESC//"[5m"
 The ANSI escape code that makes subsequent texts appear blinking (not universally supported). More...
 
character(4, SK) reverse = ESC//"[7m"
 The ANSI escape code that makes subsequent texts appear in reverse. More...
 
character(4, SK) hidden = ESC//"[8m"
 The ANSI escape code that makes subsequent texts disappear (hidden but not removed!). More...
 
character(4, SK) strike = ESC//"[9m"
 The ANSI escape code that makes subsequent texts to have strike-through (not universally supported). More...
 
character(4, SK) endbold = ESC//"[1m"
 The ANSI escape code that ends the ANSI style bold/bright. More...
 
character(4, SK) endbright = ESC//"[1m"
 The ANSI escape code that ends the ANSI style bold/bright. More...
 
character(4, SK) enddim = ESC//"[2m"
 The ANSI escape code that ends the ANSI style dim. More...
 
character(4, SK) enditalic = ESC//"[3m"
 The ANSI escape code that ends the ANSI style italic. More...
 
character(4, SK) endunderlined = ESC//"[4m"
 The ANSI escape code that ends the ANSI style underlined. More...
 
character(4, SK) endblinking = ESC//"[5m"
 The ANSI escape code that ends the ANSI style blinking. More...
 
character(4, SK) endreverse = ESC//"[7m"
 The ANSI escape code that ends the ANSI style reverse. More...
 
character(4, SK) endhidden = ESC//"[8m"
 The ANSI escape code that ends the ANSI style hidden. More...
 
character(4, SK) endstrike = ESC//"[9m"
 The ANSI escape code that ends the ANSI style strike-through. More...
 
character(4, SK) endall = ESC//"[0m"
 The ANSI escape code that resets all previously specified ANSI text styles (same as [](pm_strANSI::reset)). More...
 
character(4, SK) reset = ESC//"[0m"
 The ANSI escape code that resets all previously specified ANSI text styles (same as [](pm_strANSI::endall)). More...
 
character(5, SK) fblack = ESC//"[30m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground black color. More...
 
character(5, SK) fred = ESC//"[31m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground red color. More...
 
character(5, SK) fgreen = ESC//"[32m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground green color. More...
 
character(5, SK) fyellow = ESC//"[33m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground yellow color. More...
 
character(5, SK) fblue = ESC//"[34m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground blue color. More...
 
character(5, SK) fmagenta = ESC//"[35m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground magenta color. More...
 
character(5, SK) fcyan = ESC//"[36m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground cyan color. More...
 
character(5, SK) fwhite = ESC//"[37m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground white (light gray) color. More...
 
character(5, SK) fdefault = ESC//"[39m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground default color. More...
 
character(6, SK) flblack = ESC//"[90m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light black (dark gray) color. More...
 
character(6, SK) flred = ESC//"[91m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light red color. More...
 
character(6, SK) flgreen = ESC//"[92m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light green color. More...
 
character(6, SK) flyellow = ESC//"[93m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light yellow color. More...
 
character(6, SK) flblue = ESC//"[94m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light blue color. More...
 
character(6, SK) flmagenta = ESC//"[95m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light magenta color. More...
 
character(6, SK) flcyan = ESC//"[96m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light cyan color. More...
 
character(6, SK) flwhite = ESC//"[97m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light gray color. More...
 
character(5, SK) bblack = ESC//"[40m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background black color. More...
 
character(5, SK) bred = ESC//"[41m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background red color. More...
 
character(5, SK) bgreen = ESC//"[42m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background green color. More...
 
character(5, SK) byellow = ESC//"[43m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background yellow color. More...
 
character(5, SK) bblue = ESC//"[44m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background blue color. More...
 
character(5, SK) bmagenta = ESC//"[45m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background magenta color. More...
 
character(5, SK) bcyan = ESC//"[46m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background cyan color. More...
 
character(5, SK) bwhite = ESC//"[47m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background white (light gray) color. More...
 
character(5, SK) bdefault = ESC//"[49m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background default color. More...
 
character(6, SK) blblack = ESC//"[100m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light black (dark gray) color. More...
 
character(6, SK) blred = ESC//"[101m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light red color. More...
 
character(6, SK) blgreen = ESC//"[102m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light green color. More...
 
character(6, SK) blyellow = ESC//"[103m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light yellow color. More...
 
character(6, SK) blblue = ESC//"[104m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light blue color. More...
 
character(6, SK) blmagenta = ESC//"[105m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light magenta color. More...
 
character(6, SK) blcyan = ESC//"[106m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light cyan color. More...
 
character(6, SK) blwhite = ESC//"[107m"
 The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light white color. More...
 

Detailed Description

This module contains procedures and generic interfaces for styling strings according for display on DEC VT100 or compatible terminals.

Bug:
ESC should be ideally and portably defined as achar(27, kind), once the gfortran 11 bug is resolved.

The current implementation includes only a subset of the ANSI standard text attributes and colors that are recognized by virtually all terminals and terminal emulators. These styles are particularly recognized by the Bash and Windows CMD (>2016) terminals.

Notational conventions used in this module

  1. Any object name that begins with an f is related to foreground effects.
  2. Any object name that begins with an b is related to background effects.
  3. Any object name that begins with an end contains the string that ends the corresponding ANSI style.
Test:
test_pm_strANSI
Bug:

Status: Unresolved
Source: GNU Fortran Compiler gfortran version 10-12
Description: The character ESC should be ideally and portably defined as achar(27, kind).
However, GNU Fortran Compiler gfortran as of version 11 cannot handle this in component initializations.

Remedy (as of ParaMonte Library version 2.0.0): The character ESC is defined a direct copy of the actual character via a preprocessor macro.
Todo:
Critical Priority: The gfortran bug must be resolved as soon as possible.


Final Remarks


If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.

  1. If you use any parts or concepts from this library to any extent, please acknowledge the usage by citing the relevant publications of the ParaMonte library.
  2. If you regenerate any parts/ideas from this library in a programming environment other than those currently supported by this ParaMonte library (i.e., other than C, C++, Fortran, MATLAB, Python, R), please also ask the end users to cite this original ParaMonte library.

This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.

Author:
Amir Shahmoradi, September 1, 2017, 12:00 AM, Institute for Computational Engineering and Sciences (ICES), The University of Texas Austin

Variable Documentation

◆ bblack

character(5 , SK) pm_strANSI::bblack = ESC//"[40m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background black color.

Definition at line 107 of file pm_strANSI.F90.

◆ bblue

character(5 , SK) pm_strANSI::bblue = ESC//"[44m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background blue color.

Definition at line 111 of file pm_strANSI.F90.

◆ bcyan

character(5 , SK) pm_strANSI::bcyan = ESC//"[46m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background cyan color.

Definition at line 113 of file pm_strANSI.F90.

◆ bdefault

character(5 , SK) pm_strANSI::bdefault = ESC//"[49m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background default color.

Definition at line 115 of file pm_strANSI.F90.

◆ bgreen

character(5 , SK) pm_strANSI::bgreen = ESC//"[42m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background green color.

Definition at line 109 of file pm_strANSI.F90.

◆ blblack

character(6 , SK) pm_strANSI::blblack = ESC//"[100m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light black (dark gray) color.

Definition at line 116 of file pm_strANSI.F90.

◆ blblue

character(6 , SK) pm_strANSI::blblue = ESC//"[104m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light blue color.

Definition at line 120 of file pm_strANSI.F90.

◆ blcyan

character(6 , SK) pm_strANSI::blcyan = ESC//"[106m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light cyan color.

Definition at line 122 of file pm_strANSI.F90.

◆ blgreen

character(6 , SK) pm_strANSI::blgreen = ESC//"[102m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light green color.

Definition at line 118 of file pm_strANSI.F90.

◆ blinking

character(4 , SK) pm_strANSI::blinking = ESC//"[5m"

The ANSI escape code that makes subsequent texts appear blinking (not universally supported).

Definition at line 72 of file pm_strANSI.F90.

◆ blmagenta

character(6 , SK) pm_strANSI::blmagenta = ESC//"[105m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light magenta color.

Definition at line 121 of file pm_strANSI.F90.

◆ blred

character(6 , SK) pm_strANSI::blred = ESC//"[101m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light red color.

Definition at line 117 of file pm_strANSI.F90.

◆ blwhite

character(6 , SK) pm_strANSI::blwhite = ESC//"[107m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light white color.

Definition at line 123 of file pm_strANSI.F90.

◆ blyellow

character(6 , SK) pm_strANSI::blyellow = ESC//"[103m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background light yellow color.

Definition at line 119 of file pm_strANSI.F90.

◆ bmagenta

character(5 , SK) pm_strANSI::bmagenta = ESC//"[45m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background magenta color.

Definition at line 112 of file pm_strANSI.F90.

◆ bold

character(4 , SK) pm_strANSI::bold = ESC//"[1m"

The ANSI escape code that makes subsequent texts appear bold/bright.

Definition at line 67 of file pm_strANSI.F90.

◆ bred

character(5 , SK) pm_strANSI::bred = ESC//"[41m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background red color.

Definition at line 108 of file pm_strANSI.F90.

◆ bright

character(4 , SK) pm_strANSI::bright = ESC//"[1m"

The ANSI escape code that makes subsequent texts appear bold/bright.

Definition at line 68 of file pm_strANSI.F90.

◆ bwhite

character(5 , SK) pm_strANSI::bwhite = ESC//"[47m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background white (light gray) color.

Definition at line 114 of file pm_strANSI.F90.

◆ byellow

character(5 , SK) pm_strANSI::byellow = ESC//"[43m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for background yellow color.

Definition at line 110 of file pm_strANSI.F90.

◆ dim

character(4 , SK) pm_strANSI::dim = ESC//"[2m"

The ANSI escape code that makes subsequent texts appear dim.

Definition at line 69 of file pm_strANSI.F90.

◆ endall

character(4 , SK) pm_strANSI::endall = ESC//"[0m"

The ANSI escape code that resets all previously specified ANSI text styles (same as [](pm_strANSI::reset)).

Definition at line 86 of file pm_strANSI.F90.

◆ endblinking

character(4 , SK) pm_strANSI::endblinking = ESC//"[5m"

The ANSI escape code that ends the ANSI style blinking.

Definition at line 82 of file pm_strANSI.F90.

◆ endbold

character(4 , SK) pm_strANSI::endbold = ESC//"[1m"

The ANSI escape code that ends the ANSI style bold/bright.

Definition at line 77 of file pm_strANSI.F90.

◆ endbright

character(4 , SK) pm_strANSI::endbright = ESC//"[1m"

The ANSI escape code that ends the ANSI style bold/bright.

Definition at line 78 of file pm_strANSI.F90.

◆ enddim

character(4 , SK) pm_strANSI::enddim = ESC//"[2m"

The ANSI escape code that ends the ANSI style dim.

Definition at line 79 of file pm_strANSI.F90.

◆ endhidden

character(4 , SK) pm_strANSI::endhidden = ESC//"[8m"

The ANSI escape code that ends the ANSI style hidden.

Definition at line 84 of file pm_strANSI.F90.

◆ enditalic

character(4 , SK) pm_strANSI::enditalic = ESC//"[3m"

The ANSI escape code that ends the ANSI style italic.

Definition at line 80 of file pm_strANSI.F90.

◆ endreverse

character(4 , SK) pm_strANSI::endreverse = ESC//"[7m"

The ANSI escape code that ends the ANSI style reverse.

Definition at line 83 of file pm_strANSI.F90.

◆ endstrike

character(4 , SK) pm_strANSI::endstrike = ESC//"[9m"

The ANSI escape code that ends the ANSI style strike-through.

Definition at line 85 of file pm_strANSI.F90.

◆ endunderlined

character(4 , SK) pm_strANSI::endunderlined = ESC//"[4m"

The ANSI escape code that ends the ANSI style underlined.

Definition at line 81 of file pm_strANSI.F90.

◆ fblack

character(5 , SK) pm_strANSI::fblack = ESC//"[30m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground black color.

Definition at line 89 of file pm_strANSI.F90.

◆ fblue

character(5 , SK) pm_strANSI::fblue = ESC//"[34m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground blue color.

Definition at line 93 of file pm_strANSI.F90.

◆ fcyan

character(5 , SK) pm_strANSI::fcyan = ESC//"[36m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground cyan color.

Definition at line 95 of file pm_strANSI.F90.

◆ fdefault

character(5 , SK) pm_strANSI::fdefault = ESC//"[39m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground default color.

Definition at line 97 of file pm_strANSI.F90.

◆ fgreen

character(5 , SK) pm_strANSI::fgreen = ESC//"[32m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground green color.

Definition at line 91 of file pm_strANSI.F90.

◆ flblack

character(6 , SK) pm_strANSI::flblack = ESC//"[90m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light black (dark gray) color.

Definition at line 98 of file pm_strANSI.F90.

◆ flblue

character(6 , SK) pm_strANSI::flblue = ESC//"[94m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light blue color.

Definition at line 102 of file pm_strANSI.F90.

◆ flcyan

character(6 , SK) pm_strANSI::flcyan = ESC//"[96m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light cyan color.

Definition at line 104 of file pm_strANSI.F90.

◆ flgreen

character(6 , SK) pm_strANSI::flgreen = ESC//"[92m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light green color.

Definition at line 100 of file pm_strANSI.F90.

◆ flmagenta

character(6 , SK) pm_strANSI::flmagenta = ESC//"[95m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light magenta color.

Definition at line 103 of file pm_strANSI.F90.

◆ flred

character(6 , SK) pm_strANSI::flred = ESC//"[91m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light red color.

Definition at line 99 of file pm_strANSI.F90.

◆ flwhite

character(6 , SK) pm_strANSI::flwhite = ESC//"[97m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light gray color.

Definition at line 105 of file pm_strANSI.F90.

◆ flyellow

character(6 , SK) pm_strANSI::flyellow = ESC//"[93m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground light yellow color.

Definition at line 101 of file pm_strANSI.F90.

◆ fmagenta

character(5 , SK) pm_strANSI::fmagenta = ESC//"[35m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground magenta color.

Definition at line 94 of file pm_strANSI.F90.

◆ fred

character(5 , SK) pm_strANSI::fred = ESC//"[31m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground red color.

Definition at line 90 of file pm_strANSI.F90.

◆ fwhite

character(5 , SK) pm_strANSI::fwhite = ESC//"[37m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground white (light gray) color.

Definition at line 96 of file pm_strANSI.F90.

◆ fyellow

character(5 , SK) pm_strANSI::fyellow = ESC//"[33m"

The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing the ANSI code sequence for foreground yellow color.

Definition at line 92 of file pm_strANSI.F90.

◆ hidden

character(4 , SK) pm_strANSI::hidden = ESC//"[8m"

The ANSI escape code that makes subsequent texts disappear (hidden but not removed!).

Definition at line 74 of file pm_strANSI.F90.

◆ italic

character(4 , SK) pm_strANSI::italic = ESC//"[3m"

The ANSI escape code that makes subsequent texts appear italic.

Definition at line 70 of file pm_strANSI.F90.

◆ MODULE_NAME

character(*, SK), parameter pm_strANSI::MODULE_NAME = "@pm_strANSI"

Definition at line 60 of file pm_strANSI.F90.

◆ reset

character(4 , SK) pm_strANSI::reset = ESC//"[0m"

The ANSI escape code that resets all previously specified ANSI text styles (same as [](pm_strANSI::endall)).

Definition at line 87 of file pm_strANSI.F90.

◆ reverse

character(4 , SK) pm_strANSI::reverse = ESC//"[7m"

The ANSI escape code that makes subsequent texts appear in reverse.

Definition at line 73 of file pm_strANSI.F90.

◆ strike

character(4 , SK) pm_strANSI::strike = ESC//"[9m"

The ANSI escape code that makes subsequent texts to have strike-through (not universally supported).

Definition at line 75 of file pm_strANSI.F90.

◆ underlined

character(4 , SK) pm_strANSI::underlined = ESC//"[4m"

The ANSI escape code that makes subsequent texts appear underlined.

Definition at line 71 of file pm_strANSI.F90.