Add echo flag.
This commit is contained in:
parent
a53a5e2e1b
commit
0057460c44
@ -75,6 +75,14 @@ struct guac_terminal {
|
||||
*/
|
||||
pthread_mutex_t lock;
|
||||
|
||||
/**
|
||||
* Whether input should be echoed when keys are pressed. Normally, the
|
||||
* terminal on the side of the SSH server will handle this automatically,
|
||||
* and this flag will need to be cleared. When SSH is not yet connected,
|
||||
* this flag would need to be set for input to be visible.
|
||||
*/
|
||||
bool echo;
|
||||
|
||||
/**
|
||||
* The relative offset of the display. A positive value indicates that
|
||||
* many rows have been scrolled into view, zero indicates that no
|
||||
|
@ -94,6 +94,7 @@ guac_terminal* guac_terminal_create(guac_client* client,
|
||||
term->scroll_end = term->term_height - 1;
|
||||
|
||||
term->text_selected = false;
|
||||
term->echo = true;
|
||||
|
||||
/* Size display */
|
||||
guac_terminal_display_resize(term->display,
|
||||
|
Loading…
Reference in New Issue
Block a user