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:
@@ -42,7 +42,7 @@ function Show-FzfMenu
|
||||
[string[]]$Items,
|
||||
[string]$Header = "Select one"
|
||||
)
|
||||
$selected = $Items | fzf --header=$Header --bind=space:toggle
|
||||
$selected = $Items | fzf --header=$Header
|
||||
if(-not $selected) { return $null }
|
||||
return $selected
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user