zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
48.41k stars 2.88k forks source link

Terminal renders custom fish prompt wrongly #19197

Open bitconym opened 1 day ago

bitconym commented 1 day ago

Check for existing issues

Describe the bug / provide steps to reproduce it

The Zed embedded terminal shows the fish shell prompt like this: terminal prompt

It should render it properly like this (VSCode):

image

Environment

Zed: v0.156.1 (Zed) OS: macOS 15.0.1 Memory: 32 GiB Architecture: aarch64 Shell: fish, version 3.7.1 Plugin manager: fisher, version 4.4.5 Prompt: tide, version 6.1.1 Theme: Dracula

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

No response

jansol commented 19 hours ago

You can change the line height of the terminal to fix this: https://zed.dev/docs/configuring-zed#terminal-line-height