From 436446dd9ad83b35dbcd990b3380f36b737bf05e Mon Sep 17 00:00:00 2001 From: bud Date: Mon, 15 Feb 2021 21:05:06 +0100 Subject: [PATCH] ADD: in core.step() show full path if view is a document and config.full_path_in_window_title is true --- data/core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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