Software /
code /
prosody
Annotate
teal-src/util/termcolours.d.tl @ 12644:4262ce516e6c
core.moduleapi: Fixup method name
`get_user_role()` did not exist anywhere else.
MattJ said `get_user_default_role()` was indented
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 15 Jun 2022 23:03:15 +0200 |
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 |