Finally fixed that weird mouse issue in terminator.