Scoped guard that disables terminal echo on standard input.
Synopsis
Declared in <compat/stdin.h>
struct NoechoInst;
Description
Turns off echoing of typed characters while in scope, so secrets read from the terminal are not displayed, and restores the previous echo state on destruction.
Member Functions
Name |
Description |
|
Disables terminal echo on standard input. |
|
Restores the terminal echo state that was in effect before construction. |
Created with MrDocs