more simple mouse support for terminal