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
49.75k stars 3.06k forks source link

When resizing terminal is split string, causes for terminal to overlay cursor #16905

Open ShakeSphereStuff opened 2 months ago

ShakeSphereStuff commented 2 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

When I was using rectangle for MacOS on my 13-inch mac, I found when shrinking and then expanding the window it caused for the cursor to text cursor to overlay on the terminal text displaying the current directory, this can also be replicated when using rectangle

Environment

Zed: v0.148.1 (Zed) OS: macOS 12.7.5 Memory: 8 GiB Architecture: x86_64

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.

Zed.log


notpeter commented 2 months ago

Can you please paste a copy of your environment information. cmd-shift-p copy system specs into clipboard from Zed (includes Zed version number, etc).

Can you attach a screenshot demonstrating what you are seeing?

ShakeSphereStuff commented 2 months ago

This is my specs: Zed: v0.148.1 (Zed) OS: macOS 12.7.5 Memory: 8 GiB Architecture: x86_64

notpeter commented 2 months ago

Can you provide a screenshot (cmd-shift-4) or a screen recording (cmd-shift-5) showing the issue you are seeing?

ShakeSphereStuff commented 2 months ago

Screen Shot 2024-08-28 at 22 02 46

notpeter commented 2 months ago

I attempted, but was not able to reproduce this. Can you provide explicit instructions (including which keys your using) that trigger this behavior? (ideally with a screen recording).

I wonder whether one of the rectangle keyboard shortcuts you're using is also triggering an action in Zed. Nothing jumps out though...

Screenshot 2024-08-29 at 10 46 56
ShakeSphereStuff commented 2 months ago

Ok, so I have my terminal set up to the right, along with the zed window to the right half, then when squishing the window and expanding (a bit finicky) I notice that the terminal cursor can overlay text that it should not be overlaying