#17179·jupyterlab

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/'.

Image

Reproduce

  1. Launch Jupyter Lab from the command line and open it in a browser;
  2. Execute some Linux commands in Jupyter's pseudo terminal, especially those related to read and write operations;
  3. Close the JupyterLab browser interface, and then reopen it;
  4. 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