In pure ESM import (`import { Terminal } from '@xterm/xterm'`), nothing is put on `window`, so the adapter never instantiates the terminal.