Scoped guard that disables terminal echo on standard input.
Declared in <compat/stdin.h>
struct NoechoInst;
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.
| Name | Description |
|---|---|
NoechoInst [constructor] | Disables terminal echo on standard input. |
~NoechoInst [destructor] | Restores the terminal echo state that was in effect before construction. |