mirror of
https://github.com/patriceckhart/zot.git
synced 2026-06-26 21:36:31 +02:00
In flat (non-recursive) mode, typing a filter to locate a directory and then opening it with Right re-applied that same filter inside the directory. Typing "@eda" then Right to open eda/ showed nothing, because no child of eda/ matches "eda". The filter the user typed selected the directory at the current level; it has no meaning one level deeper. Clear the text after the last "@" (keeping the bare "@" so the picker stays open) whenever Right or Left successfully changes the browse level. The filter was scoped to the level just left, so dropping it shows the new directory's full contents. Adds a regression test that opens eda/ after an "@eda" filter and asserts the directory's contents are listed while the stale filter would have matched nothing. |
||
|---|---|---|
| .. | ||
| agent | ||
| core | ||
| ignore | ||
| provider | ||
| tui | ||