Software /
code /
prosody
File
teal-src/util/id.d.tl @ 11638:5f4a657136bc
util.format: Escape ASCII control characters in output
This should offer some protection against doing evil things to
terminals. Doesn't protect against pure broken UTF-8 garbage however.
See #734
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 15 Jun 2021 23:24:23 +0200 |
parent | 11459:86904555bffc |
line wrap: on
line source
local record lib short : function () : string medium : function () : string long : function () : string custom : function (integer) : function () : string end return lib