conditionally show params on key press