Commit 1115440
committed
Network: ⌘↑ in the share list goes back to the host list, like Backspace
In the SMB share browser (a host's share listing), `Escape` and `Backspace` already returned to the host list, but `⌘↑` fell into the cursor-move arrow handler instead — inconsistent with the file list, where `⌘↑` = parent. `⌘↑` now also goes back, via a shared `handleBackToHostKey` helper (Escape / Backspace / ⌘↑), checked before the arrow handler.
Does NOT cover the related dead-end where parent-nav from inside a *mounted* SMB share's root returns nothing (the file browser, not the share list) — that needs reconstructing the `NetworkHost` from the mounted volume's server and a cross-volume switch into the virtual `network` volume. Separate, riskier change.1 parent 54e8bde commit 1115440
3 files changed
Lines changed: 46 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
844 | 844 | | |
845 | 845 | | |
846 | 846 | | |
847 | | - | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
848 | 850 | | |
849 | 851 | | |
850 | 852 | | |
| |||
Lines changed: 17 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
451 | 465 | | |
452 | 466 | | |
453 | 467 | | |
| |||
460 | 474 | | |
461 | 475 | | |
462 | 476 | | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
463 | 480 | | |
464 | 481 | | |
465 | 482 | | |
| |||
489 | 506 | | |
490 | 507 | | |
491 | 508 | | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | 509 | | |
499 | 510 | | |
500 | 511 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
0 commit comments