Listen for key press from stdin