ADD: in core.step() show full path if view is a document and config.full_path_in_window_title is true

This commit is contained in:
bud 2021-02-15 21:05:06 +01:00
parent 3d8cf22933
commit 436446dd9a
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ function core.step()
-- update window title
local name = core.active_view:get_name()
local title = (name ~= "---") and (name .. " - lite") or "lite"
local title = (name ~= "---") and ( (config.full_path_in_window_title and core.active_view.doc.filename or name) .. " - lite") or "lite"
if title ~= core.window_title then
system.set_window_title(title)
core.window_title = title