#4808·herdr

OSC 11 background set/reset inside a pane is not repainted; only rows written afterwards change

Author: RibelioCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbugmaintainer-neededp2linuxrenderingtriaged

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

When a program in a pane sets the default background with OSC 11 (or resets it with OSC 111), the pane is not repainted. Only rows written afterwards show the new background; existing text and blank rows keep the old one until something else redraws them.

Expected behavior

The whole pane takes the new background at once, as it does in foot outside herdr.

Reproduction

  1. Open a herdr pane with some output already on screen.
  2. Run printf '\e]11;#603030\e\\'.
  3. Only the new prompt line is red; the earlier output and empty area keep the old background. printf '\e]111\e\\' to reset shows the same patchiness.

Impact

I tint each pane per project with OSC 11 when I switch project. The tint appears in patches, a few lines at a time as the agent in the pane redraws, instead of all at once.

Environment

  • Herdr version: 0.9.1
  • Update channel (stable or preview): stable
  • Operating system: Omarchy (Arch Linux, kernel 7.2.3)
  • Terminal: foot 1.28.0
  • Shell, if relevant: bash
  • Relevant config, if any: none