We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd6e23 commit 6bc4da0Copy full SHA for 6bc4da0
lua/eca/sidebar.lua
@@ -913,7 +913,8 @@ function M:_focus_input()
913
local first_line = lines[1] or ""
914
local cursor_col = math.max(#prefix, #first_line)
915
916
- -- Set cursor to end of content or after prefix vim.api.nvim_win_set_cursor(input.winid, { 1, cursor_col })
+ -- Set cursor to end of content or after prefix
917
+ vim.api.nvim_win_set_cursor(input.winid, { 1, cursor_col })
918
else
919
-- If no lines, add input line and focus
920
self:_add_input_line()
0 commit comments