Fixed quiet mode by using a custom readline-like function so that input is not
echoed to stdout.