🐻 minimal ui2 fuzzy finder for Neovim codeberg.org/comfysage/artio.nvim
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(view): on open, always set cursor pos to after last char in input

robin 045c5b33 77844845

+2 -1
+2 -1
lua/artio/view.lua
··· 328 328 self:setopts() 329 329 330 330 -- start insert *before* registering events 331 - self:updatecursor() 331 + self:updatecursor(#cmdbuff) 332 332 vim._with({ noautocmd = true }, function() 333 333 vim.cmd.startinsert({ bang = true }) 334 334 end) ··· 455 455 pos = cursorpos[2] - promptlen 456 456 end 457 457 458 + -- set cursor pos to *at least* the prompt length 458 459 curpos[2] = math.max(curpos[2], promptlen) 459 460 460 461 if curpos[1] == promptidx + 1 and curpos[2] == promptlen + pos then