TerminalGuard struct
#include <nxt/ansi.hpp>
RAII guard that hides cursor on construction, restores terminal state on destruction. Resets scroll region, shows cursor, clears screen.
Constructors, destructors, conversion operators
- TerminalGuard()
- Enter application-friendly terminal state.
- TerminalGuard(const TerminalGuard&) deleted
- ~TerminalGuard()
- Restore cursor, scroll region, and screen state.
Public functions
- auto operator=(const TerminalGuard&) → TerminalGuard& deleted