Render the scoped view: folder path in the prompt, no indent #10

Merged
nelsong6 merged 2 commits from op-2098-scoped-view into main 2026-10-29 19:52:37 -07:00
nelsong6 commented 2026-10-29 19:49:43 -07:00 (Migrated from github.com)

PR 2 of 5 for OpenProject 2098 (https://openproject.home.romaine.life/wp/2098): renders fzt's new scoped view (fzt v0.2.76) for fzt-picker.

With Config.ScopedView, the prompt bar shows the current folder's full path (cut from the left to half the bar) instead of the scope-word breadcrumb, and rows aren't indented. With FoldersOnly too, the hint reads "Enter picks this folder, or type to search…" while nothing is under the cursor. Consumers that don't set ScopedView render as before.

Tested: the standalone picker driven through tmux against this branch (enter, go up, scroll a long folder, pick).

PR 2 of 5 for OpenProject 2098 (https://openproject.home.romaine.life/wp/2098): renders fzt's new scoped view (fzt v0.2.76) for fzt-picker. With `Config.ScopedView`, the prompt bar shows the current folder's full path (cut from the left to half the bar) instead of the scope-word breadcrumb, and rows aren't indented. With `FoldersOnly` too, the hint reads "Enter picks this folder, or type to search…" while nothing is under the cursor. Consumers that don't set `ScopedView` render as before. Tested: the standalone picker driven through tmux against this branch (enter, go up, scroll a long folder, pick).
Sign in to join this conversation.
No description provided.