signal ui thread when an input key is pushed