zed icon indicating copy to clipboard operation
zed copied to clipboard

AI: Text wrapping flickers as agent is editing the file

Open zeux opened this issue 9 months ago • 0 comments

Summary

When the AI agent is editing the currently open file that has some lines wrapped, the wrapping flickers as the edits are performed.

Description

Here's a screencast of this occurring (flickering starts around 0:36):

https://github.com/user-attachments/assets/07715565-0e79-4344-b4e1-3ad999fde014

Note that I'm not sure if this is really specific to agentic editing; maybe it happens in collaborative workflows as well. This doesn't seem to happen when editing the text manually in the regular edit window. Might also be specific to the code preview with diffs.

Settings that might be relevant:

	"scrollbar": {
		"axes": {
			"horizontal": false
		}
	},
	"soft_wrap": "editor_width"

Zed Version and System Specs

Zed: v0.188.4 (Zed) OS: Linux Wayland ubuntu 25.04 Memory: 183.7 GiB Architecture: x86_64 GPU: NVIDIA GeForce RTX 5070 || NVIDIA || 570.133.07

zeux avatar May 30 '25 16:05 zeux