Commit f128cb0
Prefer most specific workstream match for directory lookups
When multiple workstreams could match a window's directory, prefer the
one with the longest (most specific) path. This prevents a workstream
set to ~/Projects from "stealing" windows that should match a more
specific workstream like ~/Projects/specific-project.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent f2ed33a commit f128cb0
1 file changed
Lines changed: 13 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
405 | 406 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
411 | 410 | | |
412 | 411 | | |
413 | | - | |
414 | | - | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
415 | 420 | | |
416 | 421 | | |
417 | | - | |
| 422 | + | |
418 | 423 | | |
419 | 424 | | |
420 | 425 | | |
| |||
0 commit comments