added 'clean_command_line_interval' option

This commit is contained in:
kdav5758
2021-07-01 17:55:31 -05:00
parent afc219aa64
commit 58caad5b78
2 changed files with 7 additions and 1 deletions
+5
View File
@@ -64,7 +64,12 @@ function M.save()
if (opts["execution_message"] ~= "" and get_modified() == true) then
print(opts["execution_message"])
set_modified(false)
end
if (opts["clean_command_line_interval"] > 0) then
cmd([[sleep ]] .. opts["clean_command_line_interval"] .. [[ | echon '']])
end
end
local function parse_events()