commit 238663dab074de51a98d28228dd10a9bdecb7ce5
parent dd49176d53c8db2aa599c72f5a81cea1ba56e009
Author: René Wagner <rwa@clttr.info>
Date: Wed, 1 Feb 2023 14:50:45 +0100
restore input display after sensitive input
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/gmnlm.c b/src/gmnlm.c
@@ -364,7 +364,6 @@ get_input(const struct gemini_response *resp, FILE *source)
}
input[n - 1] = '\0'; // Drop LF
if (tty && resp->status == GEMINI_STATUS_SENSITIVE_INPUT && r != -1) {
- attrs.c_lflag &= ~ECHO;
tcsetattr(fileno(source), TCSANOW, &attrs);
}
return input;