For some reason the mouse stopped working in iTerm2 calling (xerm-mouse-mode 1) fixes it