Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | List of all members
uni20::presentation::output_policy Struct Reference

Output policy shared by presentation renderers and layout helpers. More...

#include <presentation.hpp>

Public Attributes

ambiguous_width ambiguous = ambiguous_width::narrow
 
text_charset charset = text_charset::utf8
 
color_mode color = color_mode::automatic
 
glyph_set glyphs = glyph_set::emoji
 
invalid_utf8 invalid = invalid_utf8::escape
 
ornament_mode ornaments = ornament_mode::rich
 
std::FILE * output_stream = stdout
 
std::size_t tab_width = 8
 
width_mode width = width_mode::display_cells
 
std::optional< std::size_t > wrap_width = std::nullopt
 

Detailed Description

Output policy shared by presentation renderers and layout helpers.

Member Data Documentation

◆ ambiguous

ambiguous_width uni20::presentation::output_policy::ambiguous = ambiguous_width::narrow

◆ charset

text_charset uni20::presentation::output_policy::charset = text_charset::utf8

◆ color

color_mode uni20::presentation::output_policy::color = color_mode::automatic

◆ glyphs

glyph_set uni20::presentation::output_policy::glyphs = glyph_set::emoji

◆ invalid

invalid_utf8 uni20::presentation::output_policy::invalid = invalid_utf8::escape

◆ ornaments

ornament_mode uni20::presentation::output_policy::ornaments = ornament_mode::rich

◆ output_stream

std::FILE* uni20::presentation::output_policy::output_stream = stdout

◆ tab_width

std::size_t uni20::presentation::output_policy::tab_width = 8

◆ width

width_mode uni20::presentation::output_policy::width = width_mode::display_cells

◆ wrap_width

std::optional<std::size_t> uni20::presentation::output_policy::wrap_width = std::nullopt

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