xterm.js icon indicating copy to clipboard operation
xterm.js copied to clipboard

Terminal breaks when returning by switching tabs or switching windows

Open arnav-kr opened this issue 3 years ago • 5 comments

Details

  • Browser and browser version: 98.0.4758.102 (Official Build) (64-bit) (cohort: Stable)
  • OS version: Windows 11 Insider Preview 10.0.22000.160 (co_release)
  • xterm.js version: ^4.17.0

Steps to reproduce

  1. Open Xterm Homepage https://xtermjs.org/ scroll till demo
  2. run something then switch your tab to anything else
  3. try to run something again

And it will break

I noted one thing everything except the letter q and symbols, and numbers disappear

here it broke when I started my screen recorder

https://user-images.githubusercontent.com/72879799/155122695-600114db-9070-4285-afd9-c752f217e129.mp4

arnav-kr avatar Feb 22 '22 11:02 arnav-kr

To clarify, this is Chrome? It's also not clear exactly when you switch tab and whether you're changing just window focus or what. Could you also check the devtools console to see if there are errors?

Tyriar avatar Feb 22 '22 14:02 Tyriar

To clarify, this is Chrome? It's also not clear exactly when you switch tab and whether you're changing just window focus or what. Could you also check the devtools console to see if there are errors?

Yes it is chrome

I just realised now that it can also occur without switching tabs or windows. like when i keep running commands continuously it breaks. but switching tabs or windows makes it break more easier sometimes

I saw devtools there were no errors

arnav-kr avatar Feb 22 '22 14:02 arnav-kr

Could you try updating your graphics drivers to see if that's the issue?

Tyriar avatar Feb 22 '22 14:02 Tyriar

Its already the latest its Intel(R) UHD Graphics

arnav-kr avatar Feb 22 '22 15:02 arnav-kr

Btw i also tried https://replit.com which has a terminal based on xterm same issue there

arnav-kr avatar Feb 22 '22 17:02 arnav-kr

We recently fixed an issue like this in the webgl renderer, can you try the latest beta out to see if this still reprouces for you?

Tyriar avatar Dec 15 '22 16:12 Tyriar