We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c505554 commit fed6941Copy full SHA for fed6941
1 file changed
lua/opencode/ui/ui.lua
@@ -125,6 +125,13 @@ function M.focus_input(opts)
125
return
126
end
127
128
+ if vim.api.nvim_get_current_win() == windows.input_win then
129
+ if opts.start_insert then
130
+ vim.cmd('startinsert!')
131
+ end
132
+ return
133
134
+
135
vim.api.nvim_set_current_win(windows.input_win)
136
137
if opts.restore_position and state.last_input_window_position then
0 commit comments