aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormryouse2022-07-01 03:03:45 +0000
committermryouse2022-07-02 16:45:25 +0000
commitce422ee6c725f67a26c102e94a423cac689200fe (patch)
treeedd8f6b9202f59a406d57b11c586853bdd02bf11
parent688ffa154530589b462d2c9d6be6eb61da2f2851 (diff)
return type hints for ansi.neb
-rw-r--r--libs/ansi.neb44
1 files changed, 22 insertions, 22 deletions
diff --git a/libs/ansi.neb b/libs/ansi.neb
index 21b9bbb..6de7f2f 100644
--- a/libs/ansi.neb
+++ b/libs/ansi.neb
@@ -8,91 +8,91 @@
; COLORS
(def black-on (wrap "30"))
-(func black (str :string)
+(func black :string (str :string)
(concat black-on str reset))
(def bright-black-on (wrap "90"))
-(func bright-black (str :string)
+(func bright-black :string (str :string)
(concat bright-black-on str reset))
(def red-on (wrap "31"))
-(func red (str :string)
+(func red :string (str :string)
(concat red str reset))
(def bright-red-on (wrap "91"))
-(func bright-red (str :string)
+(func bright-red :string (str :string)
(concat bright-red-on str reset))
(def green-on (wrap "32"))
-(func green (str :string)
+(func green :string (str :string)
(concat green-on str reset))
(def bright-green-on (wrap "92"))
-(func bright-green (str :string)
+(func bright-green :string (str :string)
(concat bright-green-on str reset))
(def yellow-on (wrap "33"))
-(func yellow (str :string)
+(func yellow :string (str :string)
(concat yellow-on str reset))
(def bright-yellow-on (wrap "93"))
-(func bright-yellow (str :string)
+(func bright-yellow :string (str :string)
(concat bright-yellow-on str reset))
(def blue-on (wrap "34"))
-(func blue (str :string)
+(func blue :string (str :string)
(concat blue-on str reset))
(def bright-blue-on (wrap "94"))
-(func bright-blue (str :string)
+(func bright-blue :string (str :string)
(concat bright-blue-on str reset))
(def magenta-on (wrap "35"))
-(func magenta (str :string)
+(func magenta :string (str :string)
(concat magenta-on str reset))
(def bright-magenta-on (wrap "95"))
-(func bright-magenta (str :string)
+(func bright-magenta :string (str :string)
(concat bright-magenta-on str reset))
(def cyan-on (wrap "36"))
-(func cyan (str :string)
+(func cyan :string (str :string)
(concat cyan-on str reset))
(def bright-cyan-on (wrap "96"))
-(func bright-cyan (str :string)
+(func bright-cyan :string (str :string)
(concat bright-cyan-on str reset))
(def white-on (wrap "37"))
-(func white (str :string)
+(func white :string (str :string)
(concat white-on str reset))
(def bright-white-on (wrap "97"))
-(func bright-white (str :string)
+(func bright-white :string (str :string)
(concat bright-white-on str reset))
; STYLES
(def bold-on (wrap "1"))
-(func bold (str :string)
+(func bold :string (str :string)
(concat bold-on str reset))
(def faint-on (wrap "2"))
-(func faint (str :string)
+(func faint :string (str :string)
(concat faint-on str reset))
(def italic-on (wrap "3"))
-(func italic (str :string)
+(func italic :string (str :string)
(concat italic-on str reset))
(def underline-on (wrap "4"))
-(func underline (str :string)
+(func underline :string (str :string)
(concat underline-on str reset))
(def blink-on (wrap "5"))
-(func blink (str :string)
+(func blink :string (str :string)
(concat blink-on str reset))
(def reverse-on (wrap "7"))
-(func reverse (str :string)
+(func reverse :string (str :string)
(concat reverse-on str reset))