Skip to content

Commit

Permalink
fix: try '-S-'
Browse files Browse the repository at this point in the history
  • Loading branch information
pbnj committed Sep 2, 2023
1 parent ea0be51 commit af20786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp_tmux/tmux.lua
Expand Up @@ -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, {
Expand Down

0 comments on commit af20786

Please sign in to comment.