Dim unfocused panes to cut visual distraction #544
Replies: 5 comments 1 reply
|
i encountered the same, so protyped on v0.7.1: a demo, with
code (rebased on v0.7.1): wkentaro#1 i made it a bool with fixed intensity instead of the graded @ogulcancelik can we have your thoughts on this? |
|
Exceptions process list would be awesome. I use background dimming technique in nvim to distinguish inactive panes. Above PR will dim it again; exceptions process list would be helpful. p.s. perhaps a separate discussion after this merges in woud be better |
|
Same need here. I run 14 agents across 9 workspaces in one herdr session, and in split tabs the unfocused panes keep streaming while I'm reading the focused one. The border alone isn't enough to settle attention. What makes this feel close: herdr already dims inactive panes, it's just scoped to prefix mode. In let terminal_active = app.mode == Mode::Terminal;
let should_dim = !info.is_focused && multi_pane && !terminal_active;The render path and the per-cell +1 to @wkentaro's |
|
This would be a great addition, looking forward to it! |
|
Strong +1. I regularly lose track of which pane I'm actually typing into. the focus border alone is too weak a signal (it's what I relied on in Ghostty splits before moving those splits into herdr). |


Uh oh!
There was an error while loading. Please reload this page.
When I run several agents in split panes side by side, the unfocused panes keep streaming output. While Im working in one pane, the motion in the others constantly pulls my attention.
It would help a lot to visually de-emphasize the panes that dont have focus, so the active one stands out and the rest recede.
Simplest version: a configurable dim on unfocused panes, e.g.
Note: since herdr renders all panes inside a single host-terminal pane, the terminals own dim-inactive-split feature cant do this. It has to come from herdr itself.
Keeping every session glanceable is the whole point of herdr; the peripheral motion is the main downside, and a dim-on-unfocus toggle would fix it without losing visibility.
All reactions