Messy code in the terminal after reopening JupyterLab
Author: MrWifferCreated Jan 17, 2025Updated Sep 14, 2026
Labelsbugstatus:Blockedpkg:terminal
Description
After reopening Jupyterlab in the browser, there is something like messy code on the terminal that was used before. Sometimes, it can be longer with '0000/0000/' or 'ffff/ffff/'.
Reproduce
- Launch Jupyter Lab from the command line and open it in a browser;
- Execute some Linux commands in Jupyter's pseudo terminal, especially those related to read and write operations;
- Close the JupyterLab browser interface, and then reopen it;
- Then the messy code appears.
Expected behavior
I think the messy code may be caused by incorrect output from jupyterlab or related dependency packages, but I don't know the specific reason
Source: jupyterlab/jupyterlab