fix(tui): remove space:toggle binding from fzf to allow searching with spaces

--bind=space:toggle prevented typing spaces in search queries.
fzf --multi already supports Tab for selection by default.
This commit is contained in:
2026-04-14 18:44:54 +02:00
parent 33e1118cc6
commit 814c1d116c
8 changed files with 8 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ function Show-FzfMenu
)
$argsList = @("--header=$Header")
if($Multi) { $argsList += "--multi" }
$selected = $Items | fzf @argsList --bind=space:toggle
$selected = $Items | fzf @argsList
if(-not $selected) { return $null }
if($Multi) { return @($selected -split "`r?`n" | Where-Object { $_ }) }
return $selected