mirror of https://github.com/Hilbis/Hilbish
style: dont redeclare function param, just assign
parent
144e158473
commit
dd45766bae
|
@ -79,7 +79,7 @@ end
|
|||
|
||||
ansikit.link = function(url, text)
|
||||
if not url then error 'ansikit: missing url for hyperlink' end
|
||||
local text = (text and text or 'link')
|
||||
text = (text and text or 'link')
|
||||
return lunacolors.blue('\27]8;;' .. url .. '\27\\' .. text .. '\27]8;;\27\\\n')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue