m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Use winpty to launch fzf in Git bash (mintty)

Close #3806

Known limitation:
* --height cannot be used
This commit is contained in:
Junegunn Choi
2024-05-20 17:06:44 +09:00
parent aee417c46a
commit 573df524fe
12 changed files with 315 additions and 157 deletions

9
src/winpty.go Normal file
View File

@@ -0,0 +1,9 @@
//go:build !windows
package fzf
import "errors"
func runWinpty(_ []string, _ *Options) (int, error) {
return ExitError, errors.New("Not supported")
}