diff --git a/data/core/init.lua b/data/core/init.lua index 60a39d89..1fbafc4a 100644 --- a/data/core/init.lua +++ b/data/core/init.lua @@ -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