X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/363f9d65dc79816ecee21ee5d0bad3c403680602..114849566f85b148d2e7e52f342f40096bb4cead:/bti.c diff --git a/bti.c b/bti.c index a9a6d43..30963b2 100644 --- a/bti.c +++ b/bti.c @@ -670,7 +670,9 @@ void read_password(char *buf, size_t len) fprintf(stdout, "Enter twitter password: "); fflush(stdout); + tcflow(0, TCOOFF); scanf("%79s", pwd); + tcflow(0, TCOON); fprintf(stdout, "\n"); tcsetattr(0, TCSANOW, &old);