TextUI
วิธีการเชื่อมต่อ TextUI
- Errorism TextUI
- ERLib TextUI
- Other
Copy
M.functions = {
textui = {
show = function(text)
local key, after = text:match '%${(.-)}%s*(.*)'
local payload = {
key = key,
text = after,
}
exports['errorism.textui']:open(payload)
end,
hide = function()
exports['errorism.textui']:close()
end,
},
}
Copy
M.functions = {
textui = {
show = function(text)
lib.showTextUI(text)
end,
hide = function()
lib.hideTextUI()
end,
},
}
Copy
M.functions = {
textui = {
show = function(text)
exports['custom']:open(text)
end,
hide = function()
exports['custom']:close()
end,
},
}