keypress was specific to the repl module and was leaking, it wasnt meant to be public