gemini-cli PR fixes right-border bleed in scrollable tool containers

villahernandez-coder · ghdev · 2026-10-14

PR #29742 in google-gemini/gemini-cli fixes a rendering glitch where bordered tool output containers (expanded WriteFile/Edit views in compact mode, scrollable tool results in alternate buffer mode) intermittently break past the right border when a nested vertical scrollbar coexists with wrapped text.

Root cause

Fix: compute safeContentWidth = Math.max(0, totalContainerWidth - borderSpace - scrollbarBuffer) in both places and apply it to nested boxes and text-wrapping containers.

Original post →

More from coding & agent

coding & agent channel →