Shell box rendering is off in chat windows

Describe the Bug

Shell command output is off: line breaks are not rendered properly, with seemingly arbitrary offsets

Steps to Reproduce

tell the agent to run any command with long lines in the output, e.g. env in the chat

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.50.5
VSCode Version: 1.96.2
Commit: 96e5b01ca25f8fbd4c4c10bc69b15f6228c80770
Date: 2025-05-18T04:21:07.636Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Linux x64 6.5.0-44-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, unfortunately you are on quite an old and unsupported version - I’d recommend checking out our latest release to see if this issue is fixed!