Input class displays keypresses