ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation.
pm_strANSI.F90
Go to the documentation of this file.
1!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
3!!!! !!!!
4!!!! ParaMonte: Parallel Monte Carlo and Machine Learning Library. !!!!
5!!!! !!!!
6!!!! Copyright (C) 2012-present, The Computational Data Science Lab !!!!
7!!!! !!!!
8!!!! This file is part of the ParaMonte library. !!!!
9!!!! !!!!
10!!!! LICENSE !!!!
11!!!! !!!!
12!!!! https://github.com/cdslaborg/paramonte/blob/main/LICENSE.md !!!!
13!!!! !!!!
14!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
16
19#define ESC achar(27)
20!#define ESC "␛"
21
55
56 use pm_kind, only: SK, IK
57
58 implicit none
59
60 character(*, SK), parameter :: MODULE_NAME = "@pm_strANSI"
61
62!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
63
64 ! \warning
65 ! Any modifications to the following constants must be also reflected in the derived type styleSeq_type below.
66
67 character(4 , SK) :: bold = ESC//"[1m"
68 character(4 , SK) :: bright = ESC//"[1m"
69 character(4 , SK) :: dim = ESC//"[2m"
70 character(4 , SK) :: italic = ESC//"[3m"
71 character(4 , SK) :: underlined = ESC//"[4m"
72 character(4 , SK) :: blinking = ESC//"[5m"
73 character(4 , SK) :: reverse = ESC//"[7m"
74 character(4 , SK) :: hidden = ESC//"[8m"
75 character(4 , SK) :: strike = ESC//"[9m"
76
77 character(4 , SK) :: endbold = ESC//"[1m"
78 character(4 , SK) :: endbright = ESC//"[1m"
79 character(4 , SK) :: enddim = ESC//"[2m"
80 character(4 , SK) :: enditalic = ESC//"[3m"
81 character(4 , SK) :: endunderlined = ESC//"[4m"
82 character(4 , SK) :: endblinking = ESC//"[5m"
83 character(4 , SK) :: endreverse = ESC//"[7m"
84 character(4 , SK) :: endhidden = ESC//"[8m"
85 character(4 , SK) :: endstrike = ESC//"[9m"
86 character(4 , SK) :: endall = ESC//"[0m"
87 character(4 , SK) :: reset = ESC//"[0m"
88
89 character(5 , SK) :: fblack = ESC//"[30m"
90 character(5 , SK) :: fred = ESC//"[31m"
91 character(5 , SK) :: fgreen = ESC//"[32m"
92 character(5 , SK) :: fyellow = ESC//"[33m"
93 character(5 , SK) :: fblue = ESC//"[34m"
94 character(5 , SK) :: fmagenta = ESC//"[35m"
95 character(5 , SK) :: fcyan = ESC//"[36m"
96 character(5 , SK) :: fwhite = ESC//"[37m"
97 character(5 , SK) :: fdefault = ESC//"[39m"
98 character(6 , SK) :: flblack = ESC//"[90m"
99 character(6 , SK) :: flred = ESC//"[91m"
100 character(6 , SK) :: flgreen = ESC//"[92m"
101 character(6 , SK) :: flyellow = ESC//"[93m"
102 character(6 , SK) :: flblue = ESC//"[94m"
103 character(6 , SK) :: flmagenta = ESC//"[95m"
104 character(6 , SK) :: flcyan = ESC//"[96m"
105 character(6 , SK) :: flwhite = ESC//"[97m"
106
107 character(5 , SK) :: bblack = ESC//"[40m"
108 character(5 , SK) :: bred = ESC//"[41m"
109 character(5 , SK) :: bgreen = ESC//"[42m"
110 character(5 , SK) :: byellow = ESC//"[43m"
111 character(5 , SK) :: bblue = ESC//"[44m"
112 character(5 , SK) :: bmagenta = ESC//"[45m"
113 character(5 , SK) :: bcyan = ESC//"[46m"
114 character(5 , SK) :: bwhite = ESC//"[47m"
115 character(5 , SK) :: bdefault = ESC//"[49m"
116 character(6 , SK) :: blblack = ESC//"[100m"
117 character(6 , SK) :: blred = ESC//"[101m"
118 character(6 , SK) :: blgreen = ESC//"[102m"
119 character(6 , SK) :: blyellow = ESC//"[103m"
120 character(6 , SK) :: blblue = ESC//"[104m"
121 character(6 , SK) :: blmagenta = ESC//"[105m"
122 character(6 , SK) :: blcyan = ESC//"[106m"
123 character(6 , SK) :: blwhite = ESC//"[107m"
124
125!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
126
151 type :: styleSeq_type(kind)
152
153 integer , kind :: kind = SK
154
155 ! \warning
156 ! Any modifications to the following components must be also reflected in the list of constants above.
157
158 character(4 , kind) :: bold = ESC//"[1m"
159 character(4 , kind) :: bright = ESC//"[1m"
160 character(4 , kind) :: dim = ESC//"[2m"
161 character(4 , kind) :: italic = ESC//"[3m"
162 character(4 , kind) :: underlined = ESC//"[4m"
163 character(4 , kind) :: blinking = ESC//"[5m"
164 character(4 , kind) :: reverse = ESC//"[7m"
165 character(4 , kind) :: hidden = ESC//"[8m"
166 character(4 , kind) :: strike = ESC//"[9m"
167
168 character(4 , kind) :: endbold = ESC//"[1m"
169 character(4 , kind) :: endbright = ESC//"[1m"
170 character(4 , kind) :: enddim = ESC//"[2m"
171 character(4 , kind) :: enditalic = ESC//"[3m"
172 character(4 , kind) :: endunderlined = ESC//"[4m"
173 character(4 , kind) :: endblinking = ESC//"[5m"
174 character(4 , kind) :: endreverse = ESC//"[7m"
175 character(4 , kind) :: endhidden = ESC//"[8m"
176 character(4 , kind) :: endstrike = ESC//"[9m"
177 character(4 , kind) :: endall = ESC//"[0m"
178 character(4 , SK) :: reset = ESC//"[0m"
179
180 character(5 , kind) :: fblack = ESC//"[30m"
181 character(5 , kind) :: fred = ESC//"[31m"
182 character(5 , kind) :: fgreen = ESC//"[32m"
183 character(5 , kind) :: fyellow = ESC//"[33m"
184 character(5 , kind) :: fblue = ESC//"[34m"
185 character(5 , kind) :: fmagenta = ESC//"[35m"
186 character(5 , kind) :: fcyan = ESC//"[36m"
187 character(5 , kind) :: fwhite = ESC//"[37m"
188 character(5 , kind) :: fdefault = ESC//"[39m"
189 character(6 , kind) :: flblack = ESC//"[90m"
190 character(6 , kind) :: flred = ESC//"[91m"
191 character(6 , kind) :: flgreen = ESC//"[92m"
192 character(6 , kind) :: flyellow = ESC//"[93m"
193 character(6 , kind) :: flblue = ESC//"[94m"
194 character(6 , kind) :: flmagenta = ESC//"[95m"
195 character(6 , kind) :: flcyan = ESC//"[96m"
196 character(6 , kind) :: flwhite = ESC//"[97m"
197
198 character(5 , kind) :: bblack = ESC//"[40m"
199 character(5 , kind) :: bred = ESC//"[41m"
200 character(5 , kind) :: bgreen = ESC//"[42m"
201 character(5 , kind) :: byellow = ESC//"[43m"
202 character(5 , kind) :: bblue = ESC//"[44m"
203 character(5 , kind) :: bmagenta = ESC//"[45m"
204 character(5 , kind) :: bcyan = ESC//"[46m"
205 character(5 , kind) :: bwhite = ESC//"[47m"
206 character(5 , kind) :: bdefault = ESC//"[49m"
207 character(6 , kind) :: blblack = ESC//"[100m"
208 character(6 , kind) :: blred = ESC//"[101m"
209 character(6 , kind) :: blgreen = ESC//"[102m"
210 character(6 , kind) :: blyellow = ESC//"[103m"
211 character(6 , kind) :: blblue = ESC//"[104m"
212 character(6 , kind) :: blmagenta = ESC//"[105m"
213 character(6 , kind) :: blcyan = ESC//"[106m"
214 character(6 , kind) :: blwhite = ESC//"[107m"
215
216 end type
217
218!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
219
220! !> \brief
221! !> Generate and return a string containing the requested ANSI-standard text style and color or optionally,
222! !> decorate the input string with the requested ANSI style.
223! !>
224! !> \details
225! !> The ANSI texts styles are useful for displaying colored/styled text in terminals that support the ANSI standard,
226! !> most prominently VT100. All major terminals support ANSI escape sequences as of 2017.
227! !>
228! !> \param[in] attr : The input scalar, or array of the same rank and shape as other array-like arguments,of the same type
229! !> and kind as the output `strout`, containing the ANSI escape code for the desired text attribute.<br>
230! !> &nbsp; See the components of [styleSeq_type](@ref pm_strANSI::styleSeq_type) class for possible input values.<br>
231! !> &nbsp; (**optional**, default = [styleSeq_type%reset](@ref pm_strANSI::styleSeq_type))
232! !> \param[in] fg : The input scalar, or array of the same rank and shape as other array-like arguments, of the same type and
233! !> kind as the output `strout`, containing the ANSI escape code for the desired text **foreground** color.<br>
234! !> &nbsp; See the components of [styleSeq_type](@ref pm_strANSI::styleSeq_type) class for possible input values.<br>
235! !> &nbsp; (**optional**, default = [styleSeq_type%fg%default](@ref pm_strANSI::styleSeq_type))
236! !> \param[in] bg : The input scalar, or array of the same rank and shape as other array-like arguments, of the same type and
237! !> kind as the output `strout`, containing the ANSI escape code for the desired text **background** color.<br>
238! !> &nbsp; See the components of [styleSeq_type](@ref pm_strANSI::styleSeq_type) class for possible input values.<br>
239! !> &nbsp; (**optional**, default = [styleSeq_type%bg%default](@ref pm_strANSI::styleSeq_type))
240! !> \param[in] str : The input scalar, or array of the same rank and shape as other array-like arguments, of the same type and
241! !> kind as the output `strout`, containing the text to be styled.<br>
242! !> &nbsp; (**optional**, default = `""`)
243! !>
244! !> \return
245! !> `strout` : The output scalar, or array of the same rank and shape as the array-like input arguments
246! !> of type `character` of kind \SKALL containing the desired ANSI text style.<br>
247! !> If , the input argument `str` is present, then `strout` will be set as
248! !> `strout = style(attr, fg, bg) // str // endstyle` where the suffix
249! !> [endstyle](@ref pm_strANSI::endstyle) is a constant equivalent to
250! !> the `reset` component of [styleSeq_type](@ref pm_strANSI::styleSeq_type).
251! !> If all arguments are missing, the output is `
252! !>
253! !> \interface
254! !> \code{.F90}
255! !>
256! !> use pm_strANSI, only: getStyle
257! !>
258! !> style = getStyle(attr = attr, fg = fg, bg = bg, str = str) ! all arguments are optional.
259! !> !
260! !> \endcode
261! !>
262! !> \warning
263! !> The ANSI **blink** and **strike-through** escape codes do not function as expected in most terminal emulators,
264! !> although it is known to work in the **tty** and **XTerm**.
265! !>
266! !> \pure
267! !>
268! !> \elemental
269! !>
270! !> \note
271! !> The sole purpose of this generic interface is to provide a **convenient** but **fast** method of generating a resized and centered
272! !> copy of an array. See [pm_arrayResize](@ref pm_arrayResize) and [pm_strANSI](@ref pm_strANSI) for the relevant benchmarks.
273! !>
274! !> \see
275! !> [styleSeq_type](@ref pm_strANSI::styleSeq_type)<br>
276! !>
277! !> \example
278! !> \include{lineno} example/pm_strANSI/getStyle/main.F90
279! !> \compilef
280! !> \output
281! !> \include{lineno} example/pm_strANSI/getStyle/main.out.F90
282! !>
283! !> \test
284! !> [test_pm_strANSI](@ref test_pm_strANSI)
285! !>
286! !> \todo
287! !> \pmed Two new optional input scalar `lbcold` and `ubcold` arguments can be added to procedures to specify
288! !> a subset of the contents of the original array that has to be kept in the newly allocated centered array.
289! !>
290! !> \final
291! !>
292! !> \author
293! !> \AmirShahmoradi, September 1, 2017, 12:00 AM, Institute for Computational Engineering and Sciences (ICES), The University of Texas at Austin
294! interface getStyle
295!
296! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
297! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
298! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
299!
300! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
301!
302!#if SK5_ENABLED
303! pure elemental module function style_D0_SK5(attr, fg, bg, str) result(strout)
304!#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
305! !DEC$ ATTRIBUTES DLLEXPORT :: style_D0_SK5
306!#endif
307! use pm_kind, only: IK, LK, SKG => SK5
308! character(1,SKG) , intent(in) , optional :: attr
309! character(2,SKG) , intent(in) , optional :: fg
310! character(*,SKG) , intent(in) , optional :: bg
311! character(*,SKG) , intent(in) , optional :: str
312! end function
313!#endif
314!
315!#if SK4_ENABLED
316! pure elemental module function style_D0_SK4(attr, fg, bg, str) result(strout)
317!#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
318! !DEC$ ATTRIBUTES DLLEXPORT :: style_D0_SK4
319!#endif
320! use pm_kind, only: IK, LK, SKG => SK4
321! character(1,SKG) , intent(in) , optional :: attr
322! character(2,SKG) , intent(in) , optional :: fg
323! character(*,SKG) , intent(in) , optional :: bg
324! character(*,SKG) , intent(in) , optional :: str
325! end function
326!#endif
327!
328!#if SK3_ENABLED
329! pure elemental module function style_D0_SK3(attr, fg, bg, str) result(strout)
330!#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
331! !DEC$ ATTRIBUTES DLLEXPORT :: style_D0_SK3
332!#endif
333! use pm_kind, only: IK, LK, SKG => SK3
334! character(1,SKG) , intent(in) , optional :: attr
335! character(2,SKG) , intent(in) , optional :: fg
336! character(*,SKG) , intent(in) , optional :: bg
337! character(*,SKG) , intent(in) , optional :: str
338! end function
339!#endif
340!
341!#if SK2_ENABLED
342! pure elemental module function style_D0_SK2(attr, fg, bg, str) result(strout)
343!#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
344! !DEC$ ATTRIBUTES DLLEXPORT :: style_D0_SK2
345!#endif
346! use pm_kind, only: IK, LK, SKG => SK2
347! character(1,SKG) , intent(in) , optional :: attr
348! character(2,SKG) , intent(in) , optional :: fg
349! character(*,SKG) , intent(in) , optional :: bg
350! character(*,SKG) , intent(in) , optional :: str
351! end function
352!#endif
353!
354!#if SK1_ENABLED
355! pure elemental module function style_D0_SK1(attr, fg, bg, str) result(strout)
356!#if __INTEL_COMPILER && DLL_ENABLED && (_WIN32 || _WIN64)
357! !DEC$ ATTRIBUTES DLLEXPORT :: style_D0_SK1
358!#endif
359! use pm_kind, only: IK, LK, SKG => SK1
360! character(1,SKG) , intent(in) , optional :: attr
361! character(2,SKG) , intent(in) , optional :: fg
362! character(*,SKG) , intent(in) , optional :: bg
363! character(*,SKG) , intent(in) , optional :: str
364! end function
365!#endif
366!
367! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
368!
369! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
370! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
371! !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
372!
373! end interface
374
375!%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
376
377end module pm_strANSI ! LCOV_EXCL_LINE
This module defines the relevant Fortran kind type-parameters frequently used in the ParaMonte librar...
Definition: pm_kind.F90:268
integer, parameter IK
The default integer kind in the ParaMonte library: int32 in Fortran, c_int32_t in C-Fortran Interoper...
Definition: pm_kind.F90:540
integer, parameter SK
The default character kind in the ParaMonte library: kind("a") in Fortran, c_char in C-Fortran Intero...
Definition: pm_kind.F90:539
This module contains procedures and generic interfaces for styling strings according for display on D...
Definition: pm_strANSI.F90:54
character(5, SK) bdefault
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:115
character(5, SK) fblue
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:93
character(6, SK) blblue
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:120
character(5, SK) fmagenta
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:94
character(5, SK) fwhite
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:96
character(4, SK) enddim
The ANSI escape code that ends the ANSI style dim.
Definition: pm_strANSI.F90:79
character(4, SK) endbright
The ANSI escape code that ends the ANSI style bold/bright.
Definition: pm_strANSI.F90:78
character(4, SK) reverse
The ANSI escape code that makes subsequent texts appear in reverse.
Definition: pm_strANSI.F90:73
character(5, SK) fdefault
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:97
character(5, SK) bblack
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:107
character(4, SK) endunderlined
The ANSI escape code that ends the ANSI style underlined.
Definition: pm_strANSI.F90:81
character(4, SK) dim
The ANSI escape code that makes subsequent texts appear dim.
Definition: pm_strANSI.F90:69
character(6, SK) blblack
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:116
character(4, SK) bold
The ANSI escape code that makes subsequent texts appear bold/bright.
Definition: pm_strANSI.F90:67
character(6, SK) flcyan
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:104
character(4, SK) endstrike
The ANSI escape code that ends the ANSI style strike-through.
Definition: pm_strANSI.F90:85
character(6, SK) flred
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:99
character(4, SK) endreverse
The ANSI escape code that ends the ANSI style reverse.
Definition: pm_strANSI.F90:83
character(6, SK) blyellow
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:119
character(4, SK) endhidden
The ANSI escape code that ends the ANSI style hidden.
Definition: pm_strANSI.F90:84
character(6, SK) flblack
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:98
character(5, SK) byellow
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:110
character(6, SK) blmagenta
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:121
character(4, SK) endblinking
The ANSI escape code that ends the ANSI style blinking.
Definition: pm_strANSI.F90:82
character(6, SK) flblue
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:102
character(6, SK) flgreen
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:100
character(4, SK) hidden
The ANSI escape code that makes subsequent texts disappear (hidden but not removed!...
Definition: pm_strANSI.F90:74
character(5, SK) fcyan
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:95
character(6, SK) blwhite
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:123
character(5, SK) fgreen
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:91
character(4, SK) bright
The ANSI escape code that makes subsequent texts appear bold/bright.
Definition: pm_strANSI.F90:68
character(5, SK) bgreen
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:109
character(6, SK) blcyan
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:122
character(6, SK) flwhite
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:105
character(6, SK) blred
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:117
character(6, SK) flyellow
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:101
character(4, SK) underlined
The ANSI escape code that makes subsequent texts appear underlined.
Definition: pm_strANSI.F90:71
character(*, SK), parameter MODULE_NAME
Definition: pm_strANSI.F90:60
character(4, SK) strike
The ANSI escape code that makes subsequent texts to have strike-through (not universally supported).
Definition: pm_strANSI.F90:75
character(6, SK) blgreen
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:118
character(5, SK) bblue
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:111
character(5, SK) bwhite
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:114
character(4, SK) blinking
The ANSI escape code that makes subsequent texts appear blinking (not universally supported).
Definition: pm_strANSI.F90:72
character(4, SK) endbold
The ANSI escape code that ends the ANSI style bold/bright.
Definition: pm_strANSI.F90:77
character(4, SK) reset
The ANSI escape code that resets all previously specified ANSI text styles (same as [](pm_strANSI::en...
Definition: pm_strANSI.F90:87
character(4, SK) enditalic
The ANSI escape code that ends the ANSI style italic.
Definition: pm_strANSI.F90:80
character(6, SK) flmagenta
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:103
character(4, SK) endall
The ANSI escape code that resets all previously specified ANSI text styles (same as [](pm_strANSI::re...
Definition: pm_strANSI.F90:86
character(5, SK) fyellow
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:92
character(4, SK) italic
The ANSI escape code that makes subsequent texts appear italic.
Definition: pm_strANSI.F90:70
character(5, SK) bred
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:108
character(5, SK) fred
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:90
character(5, SK) bcyan
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:113
character(5, SK) bmagenta
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:112
character(5, SK) fblack
The scalar character of kind any supported by the processor (e.g., SK, SKA, SKD , or SKU) containing ...
Definition: pm_strANSI.F90:89
This is the styleSeq_type Parameterized Derived Type (PDT) for styling Fortran scalar strings of arbi...
Definition: pm_strANSI.F90:151