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

@@ -24,7 +24,7 @@ function M.fn(should_close)
local parent = (node:get_parent_of_group() or node).parent
if not parent or not parent.parent then
node.explorer.view:set_cursor({ 1, 0 })
node.explorer.window:set_cursor({ 1, 0 })
return
end
@@ -32,7 +32,7 @@ function M.fn(should_close)
return n.absolute_path == parent.absolute_path
end)
node.explorer.view:set_cursor({ line + 1, 0 })
node.explorer.window:set_cursor({ line + 1, 0 })
if should_close then
parent.open = false
parent.explorer.renderer:draw()