Moving ahead with merging https://github.com/xtermjs/xterm.js/pull/4577, there are a few changes that still need to be applied after that.