Compare views: start with a view the zone is linked to

The tab picked the first other view in view order, so a zone linked with
one view opened compared with an unrelated one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adamandClaude Opus 5.5 committed 2026-10-13 20:09:52 +01:00
1 parent aca0abc780
commit 5cd22f52d4
3 files changed
+13 -2

No files matched your search

+4 -1
View File
@@ -235,7 +235,10 @@ before it).
## Comparing views
A zone's **Compare views** tab, or `jarl zone diff`, compares it with the
same zone in another view (or all of them), from the view you're on:
same zone in another view (or all of them), from the view you're on.
The tab starts with a view the zone is linked to, if any, else the
first other view; `jarl zone diff` compares with every other view unless
`--with` names some:
```
$ jarl zone diff adbraun.lol --view internal