From af2078671dc268e768e390d8e09f91aeec5abe12 Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Fri, 1 Sep 2023 17:41:28 -0700 Subject: [PATCH] fix: try '-S-' --- lua/cmp_tmux/tmux.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/cmp_tmux/tmux.lua b/lua/cmp_tmux/tmux.lua index d5c204d..1f196bf 100644 --- a/lua/cmp_tmux/tmux.lua +++ b/lua/cmp_tmux/tmux.lua @@ -51,7 +51,7 @@ end function Tmux.create_pane_data_job(self, pane, on_data, on_exit) local cmd = { 'tmux', 'capture-pane', '-p', '-t', pane } if self.config.capture_history then - table.insert(cmd, '-S -') + table.insert(cmd, '-S-') end return vim.fn.jobstart(cmd, {