Improve web terminal with key & mouse input