mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
fix: 修复状态更新文本分割的正则表达式错误
This commit is contained in:
@@ -108,8 +108,7 @@ end
|
||||
local function updateStatus(text)
|
||||
statusText.clear()
|
||||
local lines = {}
|
||||
for line in text:gmatch("[^
|
||||
]+") do
|
||||
for line in text:gmatch("[^]+") do
|
||||
table.insert(lines, line)
|
||||
end
|
||||
for i, line in ipairs(lines) do
|
||||
|
||||
Reference in New Issue
Block a user