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

@@ -41,11 +41,11 @@ function M.fn(opts)
end
local explorer = core.get_explorer()
if explorer and explorer.view:is_visible() then
if explorer and explorer.window:is_visible() then
-- focus
if opts.focus then
lib.set_target_win()
explorer.view:focus()
explorer.window:focus()
end
elseif opts.open then
-- open