Skip to content

feat(berth): name a berth's pane in the herdr app window - #134

Merged
GraemeF merged 1 commit into
mainfrom
yard-eo0x-pane-name
Nov 25, 2026
Merged

GraemeF merged 1 commit into
mainfrom
yard-eo0x-pane-name

Conversation

@GraemeF

@GraemeF GraemeF commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Under the herdr app, a berth's label named its space and tab but not its pane, because the app could not name a pane before 0.1.17. Now berth open --label and berth name name the pane too, as they do under herdr.

The app's pane.rename takes a pane id, and with none it renames the focused pane. So the adapter finds the pane that shows the berth's terminal in herdr-app ls and names that one. Like the other names, a pane's name needs an open window, and nothing happens without one.

The sandbox has no window, so this was checked by hand against a real 0.1.18 window. The labelled effort, worker and tender each showed their label on their pane, and berth name renamed a worker's pane and an unlabelled berth's pane.

@GraemeF
GraemeF marked this pull request as ready for review November 25, 2026 17:19
@GraemeF
GraemeF merged commit f292eaf into main Nov 25, 2026
2 checks passed
@GraemeF
GraemeF deleted the yard-eo0x-pane-name branch November 25, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant