ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
prompt_opts_t Struct Reference

Options for text prompts. More...

#include <lib/platform/question.h>

Data Fields

bool echo
 
bool same_line
 
char mask_char
 

Detailed Description

Options for text prompts.

Definition at line 31 of file question.h.

Field Documentation

◆ echo

bool prompt_opts_t::echo

Whether to echo input (false for passwords)

Definition at line 32 of file question.h.

◆ mask_char

char prompt_opts_t::mask_char

Character to display instead of input when echo=false (0 for no mask, '*' typical)

Definition at line 34 of file question.h.

◆ same_line

bool prompt_opts_t::same_line

If true, answer on same line after prompt; if false, answer on next line

Definition at line 33 of file question.h.


The documentation for this struct was generated from the following file: