That Terminal
A terminal emulator designed for video making purposes.
cset.hh File Reference

Defines TranslateCSet() More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

char32_t TranslateCSet (char32_t c, int cset)
 

Detailed Description

Function Documentation

◆ TranslateCSet()

char32_t TranslateCSet ( char32_t  c,
int  cset 
)

TranslateCSet() translates the given character code into unicode codepoint.

The following behaviors are defined: When cset = 0: Returns the value of c verbatim. When cset = 1: If c is in range 0x5F..0x7E (inclusive), returns a symbol from DEC Graphics Set corresponding to that index. Otherwise returns the value of c verbatim.

Otherwise behavior is undefined.