We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d56d2f8 + 3587016 commit b058360Copy full SHA for b058360
compat/terminal.c
@@ -96,7 +96,7 @@ static int disable_echo(void)
96
97
static char *xterm_prompt(const char *prompt, int echo)
98
{
99
- const char *read_password[] = {
+ const char *read_input[] = {
100
"sh", "-c",
101
"cat >/dev/tty && read line </dev/tty && echo \"$line\"",
102
NULL
@@ -111,7 +111,7 @@ static char *xterm_prompt(const char *prompt, int echo)
111
if (!echo && run_command_v_opt(echo_off, 0))
112
warning("Could not disable echo on xterm");
113
114
- child.argv = read_password;
+ child.argv = read_input;
115
child.in = -1;
116
child.out = -1;
117
0 commit comments