Skipping the draft-following scan whenever ANY pane happened to list the directory was the cheaper rule and the wrong one: erasing a segment left the level being typed on the LEFT, with its own child pane still standing to its right, so the two panes stopped reading as "where I am, and where I came from". The pane arity is now the invariant the editor maintains — the last pane lists the level the path names, its parent sits beside it, and only a display root lists alone. Only that last pane's own tail costs no scan; every other directory part re-lands. |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| tests | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||