From 2a9c1c06a4a0f8afd75ab299459f438095d41515 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 22 Apr 2025 20:18:03 +0900 Subject: Revert "Disable tmux popup when already running inside one (#4351)" This reverts commit af8fe918d863b18160390a79cbf957ee28dead56. Fix #4360 Fix #4359 --- src/core.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core.go') diff --git a/src/core.go b/src/core.go index aaa444b2..42add205 100644 --- a/src/core.go +++ b/src/core.go @@ -39,7 +39,7 @@ func (r revision) compatible(other revision) bool { // Run starts fzf func Run(opts *Options) (int, error) { if opts.Filter == nil { - if opts.Tmux != nil && len(os.Getenv("TMUX")) > 0 && len(os.Getenv("TMUX_PANE")) > 0 && opts.Tmux.index >= opts.Height.index { + if opts.Tmux != nil && len(os.Getenv("TMUX")) > 0 && opts.Tmux.index >= opts.Height.index { return runTmux(os.Args, opts) } -- cgit v1.2.3