Skip to content

Commit da9a089

Browse files
phanenibhagwan
authored andcommitted
fix: ctrl-g should not change layout when use live_grep with winopts.split
1 parent f82f986 commit da9a089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/fzf-lua/win.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ end
13391339

13401340
function FzfWin:update_main_title(title)
13411341
-- Can be called from fzf-tmux on ctrl-g
1342-
if not self.layout then return end
1342+
if not self.layout or self.winopts.split then return end
13431343
self.winopts.title = title
13441344
self._o.winopts.title = title
13451345
self.update_win_title(self.fzf_winid, self.layout.fzf, {

0 commit comments

Comments
 (0)