termstyle 1.0.0-pre.3
An open-source C++ header file that enables developers to easily define and apply customizable style presets for terminal outputs such as warnings, infos, and errors.
Loading...
Searching...
No Matches
termstyle::Config Struct Reference

Configuration namespace. More...

#include <termstyle.hpp>

Public Attributes

bool leading_restore = true
 
bool trailing_restore = true
 
bool trailing_newline = true
 

Detailed Description

Configuration namespace.

Member Data Documentation

◆ leading_restore

bool termstyle::Config::leading_restore = true

Indicates whether leading restore is enabled or not. If set to true, it means that leading restore is enabled. If set to false, leading restore is disabled.

◆ trailing_newline

bool termstyle::Config::trailing_newline = true

Specifies whether a trailing newline character should be added when printing. If set to true, a newline character will be added at the end of the printed output. If set to false, no newline character will be added.

◆ trailing_restore

bool termstyle::Config::trailing_restore = true

Indicates whether trailing restore is enabled or not. If set to true, trailing restore will be performed. If set to false, trailing restore will be skipped.


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