refactor(#2826): rename View to Window

This commit is contained in:
Alexander Courtis
2025-06-16 13:42:56 +10:00
parent 5377a3fd69
commit fc81249d4f
21 changed files with 118 additions and 118 deletions

View File

@@ -13,7 +13,7 @@ local running = {}
---@param path string relative or absolute
function M.fn(path)
local explorer = core.get_explorer()
if not explorer or not explorer.view:is_visible() then
if not explorer or not explorer.window:is_visible() then
return
end
@@ -83,9 +83,9 @@ function M.fn(path)
end)
:iterate()
if found and explorer.view:is_visible() then
if found and explorer.window:is_visible() then
explorer.renderer:draw()
explorer.view:set_cursor({ line, 0 })
explorer.window:set_cursor({ line, 0 })
end
running[path_real] = false