RADLib
RADical C++ application framework
RADTerminal.h File Reference

Terminal buffer, ANSI parser, PTY session, and keyboard escape helpers. More...

#include <RADCore/RADLicenseGate.h>
#include <atomic>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <mutex>
#include <string>
#include <string_view>
#include <thread>
#include <vector>
+ Include dependency graph for RADTerminal.h:

Go to the source code of this file.

Classes

struct  RADUi::TerminalColor
 RGB terminal color used for a rendered line. More...
 
struct  RADUi::TerminalLine
 One logical terminal line with text and colors. More...
 
struct  RADUi::TerminalCursor
 Terminal cursor location and visibility. More...
 
class  RADUi::TerminalBuffer
 ANSI/VT-style terminal screen buffer and parser. More...
 
class  RADUi::PtyTerminalSession
 PTY-backed terminal session that feeds output into TerminalBuffer. More...
 

Namespaces

 RADCore
 
 RADUi
 

Functions

std::string RADUi::terminalInputSequence (std::string_view text, bool alt=false, bool control=false, bool shift=false, bool meta=false)
 Converts printable text and modifiers to bytes suitable for a terminal PTY. More...
 
std::string RADUi::terminalSpecialKeySequence (std::string_view key, bool alt=false, bool control=false, bool shift=false, bool meta=false)
 Converts named special keys and modifiers to terminal escape sequences. More...
 

Detailed Description

Terminal buffer, ANSI parser, PTY session, and keyboard escape helpers.