Origin story
built it because their was no good tui applauncher that worked well with otter-launcher

Fast TUI app launcher and fuzzy finder for GNU/Linux and *BSD
Fast TUI app launcher for GNU/Linux and *BSD
built it because their was no good tui applauncher that worked well with otter-launcher
fsel -p lets you launch app and skip tui
very scriptable, the reason i made it so is bc it needs to work with otter-launcher
images
Added
--index-original flag for dmenu mode (from pr #93, closes #92)
--index still outputs the 0-based position within the currently filtered list, which shifts as the query narrows results. --index-original stays stable, so scripts can map a selection back to the exact input line they fed in.--index; using both now fails with a clear CLI error instead of producing an ambiguous index.--help, USAGE.md, and the man page.Changed
selected_output() was restructured for clarity while adding the new index branch.Fixed
cargo fmt --check stays clean on the release branch.Technical details
dmenu_index_original_mode option threaded through Opts, CLI override parsing (Long("index-original")), and DmenuOptions.validate() and returns a CliError rather than panicking, so the failure takes the normal CLI error path instead of aborting.line_number field already carried on Item and assigned when input is read, so they survive filtering, scoring, and re-query without extra bookkeeping.Documentation
--index-original example, clarified that --index is 0-indexed, and noted that the two flags are mutually exclusive.fsel.1): documents --index-original and clarifies that --index outputs the 0-based filtered-list position.--help: added the --index-original entry to the dmenu section.Cargo.toml, and flake.nix version references updated for 3.7.0-kiwicrab.Notes
--index was only ever meaningful relative to the current filter, so callers that needed to map a selection back to their own input list had no reliable option.Contributors
selected_output refactor, formatting)Compatibility
--index behavior is unchanged. The only newly rejected invocation is --index together with --index-original.| File | Platform | Checksum |
|---|---|---|
| fsel-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| fsel-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
Discussions