Conversation
Add ui.tab_bar_position, ui.show_clock, and ui.prefix_hint to the versioned config reference so it stays in sync with the config model.
…ts (tvaintrob#1) Adds a new configurable keybinding `next_blocked_agent` that focuses the next agent in blocked state, wrapping around when reaching the end. This allows quickly jumping to agents that need human input without cycling through idle/working agents. Configuration (in config.toml): [keys] next_blocked_agent = "prefix+shift+n" Co-authored-by: tamir altshuler <tamir@tamirs-MacBook-Pro.local> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds an opt-in `[ui] show_tab_numbers` setting that prefixes each tab label with its 1-based switch index, so the tab bar lines up with the `switch_tab = "prefix+1..9"` bindings. Defaults to false, leaving the current rendering byte-identical. Auto-named tabs already render as their bare index, so the prefix only applies to user-named tabs — an auto-named tab stays "3" rather than becoming "3:3". The index participates in tab width, so `show_numbers` threads through tab_width/layout_tab_hit_areas/compute_tab_bar_view rather than only the render path; otherwise numbered labels would be truncated. Applies live via `herdr server reload-config`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an opt-in
[ui] show_tab_numberssetting that prefixes each tab label with its 1-based switch index, so the tab bar lines up with theswitch_tab = "prefix+1..9"bindings (tmux's#I:#Whabit).Named tabs render as
1:mytab. Applies live viaherdr server reload-config.Notes
false— with the flag off,tab_chrome_labelreturns the exact same string as before, so existing rendering is unchanged.ws.tab_display_name()already falls back to the bare index, so naively prefixing would render an auto-named tab as3:3. The prefix is gated on!tab.is_auto_named(), leaving those as plain3.tab_width/layout_tab_hit_areas/centered_tab_scroll/max_tab_scroll/compute_tab_bar_viewall take it. Passing it only torender_tab_barwould leave tab hit areas too narrow and truncate the labels.show_clock.Tests
Two added:
tab_numbers_prefix_named_tabs_onlyandtab_number_prefix_counts_toward_tab_width.cargo test --release --bin herdr -- --test-threads=1→ 2640 passed.Depends on #2
mastercurrently fails to compile undercfg(test)(NextBlockedAgentmissing from a test-only match), so no tests can run until #2 lands. The counts above were measured with that fix applied locally. CI here will stay red until #2 merges.There is also one pre-existing flake under parallel runs,
pane_graphics_stream::inactive_owner_cancels_idle_stream_and_dispatches_close— it passes consistently in isolation and is unrelated to this change.🤖 Generated with Claude Code