summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/winpty_windows.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/winpty_windows.go b/src/winpty_windows.go
index 29cd0f90..78020d73 100644
--- a/src/winpty_windows.go
+++ b/src/winpty_windows.go
@@ -23,10 +23,7 @@ func needWinpty(opts *Options) bool {
/*
See: https://github.com/junegunn/fzf/issues/3809
- "MSYS=enable_pcon" allows fzf to run properly on mintty 3.4.5 or later,
- however `--height` option still doesn't work, and it's going to be ignored.
-
- We're not going to worry too much about restoring the original value.
+ "MSYS=enable_pcon" allows fzf to run properly on mintty 3.4.5 or later.
*/
if strings.Contains(os.Getenv("MSYS"), "enable_pcon") {
return false
@@ -56,7 +53,7 @@ func runWinpty(args []string, opts *Options) (int, error) {
for _, arg := range args[1:] {
argStr += " " + escapeSingleQuote(arg)
}
- argStr += ` --no-winpty --no-height`
+ argStr += ` --no-winpty`
if isMintty345() {
return runProxy(argStr, func(temp string) *exec.Cmd {