stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.78k stars 144 forks source link

python terminal #1497

Open salaardevelops opened 2 weeks ago

salaardevelops commented 2 weeks ago

Describe the bug

when a create a new file with alot of code an then clear the terminal or open a new one i cant type anything in the terminla please fix this issue.Thanks.

Link to the blitz that caused the error

https://stackblitz.com/edit/secret-python-5fabwz?file=main.py&title=Python%20Starter

Steps to reproduce

1.create new file with alot of code(python) 2.open a new terminal or clear the terminal 3.when the new terminal is created you wil see an error

Expected behavior

can not type in the terminal

Parity with Local

Screenshots

image

Platform

Browser name  = Chrome
Full version  = 126.0.0.0
Major version = 126
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 107943199,
  "usedJSHeapSize": 93754975,
  "jsHeapSizeLimit": 2172649472
}
Hash = 9569b1ab

Additional context

no additional content

kirjavascript commented 2 weeks ago

Hi! :wave: Thanks for reporting this issue.

I can't seem to reproduce this issue. Could you provide the error that is shown?

eddpool97 commented 2 weeks ago

Hello. I have the same issue. Did you found a solution?

Thanks. Regards.

kirjavascript commented 2 weeks ago

I've managed to reproduce the issue.

We are tracking this internally and will update when we have a fix.