emacs-libvterm@376db7cf416 had a breaking change for `vterm-exit-functions` which sends the event as the second argument.