Software /
code /
prosody
Annotate
teal-src/util/termcolours.d.tl @ 12701:8e402a2ae1b8
util.jwt: Overhaul of tests to use declarative approach
Now we can consistently apply the same tests to every algorithm, instead of
duplicating code.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 02 Jul 2022 14:22:20 +0100 |
parent | 12623:b462fbc600f2 |
rev | line source |
---|---|
12623
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 local record lib |
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 getstring : function (string, string) : string |
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 getstyle : function (...:string) : string |
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 setstyle : function (string) : string |
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 tohtml : function (string) : string |
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 end |
b462fbc600f2
util.termcolours: Add Teal interface description
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 return lib |