minimal extui fuzzy finder for neovim

fix(view): prevent decreasing offset when `idx == 0`

+1 -1
+1 -1
lua/artio/view.lua
··· 315 315 if _offset > offset then 316 316 offset = _offset 317 317 elseif self.picker.idx <= offset then 318 - offset = self.picker.idx - 1 318 + offset = math.max(0, self.picker.idx - 1) 319 319 end 320 320 321 321 local lines = {} ---@type string[]