diff options
Diffstat (limited to 'src/core.go')
| -rw-r--r-- | src/core.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core.go b/src/core.go index 17b7d1df..9c5ac033 100644 --- a/src/core.go +++ b/src/core.go @@ -21,7 +21,11 @@ Matcher -> EvtHeader -> Terminal (update header) // Run starts fzf func Run(opts *Options) (int, error) { if opts.Tmux != nil && len(os.Getenv("TMUX")) > 0 { - return runTmux(os.Args[1:], opts) + return runTmux(os.Args, opts) + } + + if os.Getenv("TERM_PROGRAM") == "mintty" && !opts.NoWinpty { + return runWinpty(os.Args, opts) } if err := postProcessOptions(opts); err != nil { |
