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:
parent
3d8cf22933
commit
436446dd9a
|
@ -725,7 +725,7 @@ function core.step()
|
||||||
|
|
||||||
-- update window title
|
-- update window title
|
||||||
local name = core.active_view:get_name()
|
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
|
if title ~= core.window_title then
|
||||||
system.set_window_title(title)
|
system.set_window_title(title)
|
||||||
core.window_title = title
|
core.window_title = title
|
||||||
|
|
Loading…
Reference in New Issue