Skip to content

Commit 6bc4da0

Browse files
committed
revert unwanted change
1 parent 6fd6e23 commit 6bc4da0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/eca/sidebar.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,8 @@ function M:_focus_input()
913913
local first_line = lines[1] or ""
914914
local cursor_col = math.max(#prefix, #first_line)
915915

916-
-- Set cursor to end of content or after prefix vim.api.nvim_win_set_cursor(input.winid, { 1, cursor_col })
916+
-- Set cursor to end of content or after prefix
917+
vim.api.nvim_win_set_cursor(input.winid, { 1, cursor_col })
917918
else
918919
-- If no lines, add input line and focus
919920
self:_add_input_line()

0 commit comments

Comments
 (0)