turses crashes on mouse click(other than scrolling)

The program crashes on mouse click. The `handle()` function in `core.py` doesn't handle mouse events other scrolling. This pull request fixed the bug. I'm not familiar with the code. Not sure if I broke something, all the tests are okay though. I need the maintainers to review the code.