xtermjs / xterm.js

A terminal for the web
https://xtermjs.org/
MIT License
17.44k stars 1.62k forks source link

Key input breaks when a second window is open #4898

Closed mmvanheusden closed 9 months ago

mmvanheusden commented 9 months ago

Details

Steps to reproduce

  1. Add a terminal to a page
  2. Open a second window and start typing into the terminal. the key inputs are no longer processed.

My testing code can be found at https://github.com/mmvanheusden/electron-terminal/tree/4e174ba.

https://github.com/xtermjs/xterm.js/assets/50550545/3c2d9368-780a-45f0-a13a-a6fbfec03857

mmvanheusden commented 9 months ago

Was an issue with my code!