terminalgui  0.1.0
Widgets for your terminal, powered by Qt! Create textual GUI (TUI) in your console easily.
Public Member Functions | List of all members
Tg::RawTerminalLocker Class Reference

Simple RAII class - sets proper echo mode in terminal for the duration of application run. More...

#include <tgterminal.h>

Public Member Functions

 RawTerminalLocker ()
 Disables echo mode in terminal. More...
 
 ~RawTerminalLocker ()
 Enables echo mode in terminal.
 

Detailed Description

Simple RAII class - sets proper echo mode in terminal for the duration of application run.

When this object is deleted, it restores previous echo mode.

Constructor & Destructor Documentation

◆ RawTerminalLocker()

Tg::RawTerminalLocker::RawTerminalLocker ( )

Disables echo mode in terminal.

All key strokes are intercepted by Tg::Terminal instead.


The documentation for this class was generated from the following files: