remove unsaved flag from log.txt

This commit is contained in:
takase1121 2021-12-22 10:54:25 +08:00
parent 2f65d5a26f
commit 00e2e281d3
No known key found for this signature in database
GPG Key ID: 60EEFFC68EB3031B
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ command.add(nil, {
local doc = core.open_doc("logs.txt")
core.root_view:open_doc(doc)
doc:insert(1, 1, core.get_log())
doc.new_file = false
doc:clean()
end,
["log:copy-to-clipboard"] = function()
system.set_clipboard(core.get_log())