Skip to content

Commit a5fe09c

Browse files
committed
feat(permissions): add permissions keymaps to output_window also
1 parent b7bdcdd commit a5fe09c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/opencode/ui/output_window.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ function M.setup_autocmds(windows, group)
172172
require('opencode.ui.input_window').refresh_placeholder(state.windows)
173173
end,
174174
})
175+
176+
state.subscribe('current_permission', function()
177+
require('opencode.keymap').toggle_permission_keymap(windows.output_buf)
178+
end)
175179
end
176180

177181
function M.clear()

0 commit comments

Comments
 (0)