fix. user command wasn't working when mouse cursor was outside the term window AND the window has focus