Use home_encode when setting window title to filename

This commit is contained in:
Francesco Abbate 2021-05-05 10:35:19 +02:00
parent d63afe02ed
commit 9f7f55926b
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ end
function DocView:get_filename()
if self.doc.abs_filename then
local post = self.doc:is_dirty() and "*" or ""
return self.doc.abs_filename .. post
return common.home_encode(self.doc.abs_filename) .. post
end
return self:get_name()
end