Added multiline support for LogView's messages

This commit is contained in:
rxi
2020-05-06 00:06:27 +01:00
parent 15cfbfbc46
commit 7610e1064f
2 changed files with 17 additions and 7 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ end
local function log(icon, icon_color, fmt, ...)
local text = string.format(fmt, ...):gsub("%s", " ")
local text = string.format(fmt, ...)
if icon then
core.status_view:show_message(icon, icon_color, text)
end