Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lua/opencode/provider/tmux.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ end
function Tmux:start()
local pane_id = self:get_pane_id()
if not pane_id then
-- Create new pane
-- Create new pane and make it active to prevent OSC responses from leaking to Neovim
self.pane_id =
vim.fn.system(string.format("tmux split-window -d -P -F '#{pane_id}' %s '%s'", self.opts.options, self.cmd))
vim.fn.system(string.format("tmux split-window -P -F '#{pane_id}' %s '%s'", self.opts.options or "", self.cmd))
end
end

Expand Down