Add mouse support in terminal.