better wx inputhook for larch CLI,