Skip to content

Commit 5e2f9d5

Browse files
committed
fix: claudecode terminal listed in buffer issue
1 parent aa9a5ce commit 5e2f9d5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/claudecode/terminal/native.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ local function open_terminal(cmd_string, env_table, effective_config, focus)
132132
winid = new_winid
133133
bufnr = vim.api.nvim_get_current_buf()
134134
vim.bo[bufnr].bufhidden = "hide"
135+
vim.bo[bufnr].buflisted = false
135136
-- buftype=terminal is set by termopen
136137

137138
if focus then

0 commit comments

Comments
 (0)