Skip to content

Commit c505554

Browse files
committed
fix(focus_input): fix focusing input on window opening
1 parent 4824151 commit c505554

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lua/opencode/ui/ui.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,6 @@ function M.focus_input(opts)
125125
return
126126
end
127127

128-
if vim.api.nvim_get_current_win() == windows.input_win then
129-
return
130-
end
131-
132128
vim.api.nvim_set_current_win(windows.input_win)
133129

134130
if opts.restore_position and state.last_input_window_position then

0 commit comments

Comments
 (0)