Files
turbo-debug.nvim/lua/turbo-debug
swaitsandClaude Opus 4.6 77be1ac578 fix: close orphan bars + force redraw on tabline-disappear
When bufferline removes the tabline row (buffer count drops back to 1
after stepping out of a secondary file), the recovery ran but the
screen showed DUPLICATE status bar rows stacked on top of each other.
Root cause: during the tabline-disappear → window-shift cascade, nvim
occasionally leaves a stale bar window while our recover path creates
a new one, and/or keeps stale pixels from the pre-shift layout.

Two defenses added to recover_chrome():

1. Walk all windows; close any with filetype=TurboDebugBar that we're
   NOT tracking in sbar_win/cbar_win. Any orphaned bar window from a
   partial layout transition gets nuked before we create new ones.

2. Call `redraw!` at the end of recovery to force a full screen
   refresh, clearing any leftover pixels from the previous layout.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 15:26:45 -06:00
..
2026-04-12 11:35:15 -06:00