mirror of
https://github.com/junegunn/fzf.git
synced 2025-07-31 20:22:01 -07:00
Fix '--tmux border-native'
This commit is contained in:
@@ -331,7 +331,12 @@ func parseTmuxOptions(arg string, index int) (*tmuxOptions, error) {
|
||||
}
|
||||
|
||||
// Defaults to 'center'
|
||||
switch tokens[0] {
|
||||
first := "center"
|
||||
if len(tokens) > 0 {
|
||||
first = tokens[0]
|
||||
}
|
||||
|
||||
switch first {
|
||||
case "top", "up":
|
||||
opts.position = posUp
|
||||
opts.width = sizeSpec{100, true}
|
||||
|
Reference in New Issue
Block a user