convert_key required raw input only if stdin and stdout is interactive
console