gui: Support key input at the expression field