From f68336b96e0d843511bb1bd3fdac8bba2fe4573a Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 23 Mar 2023 13:36:52 +0100 Subject: teal: Move into prosody namespace --- teal-src/util/human/io.d.tl | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 teal-src/util/human/io.d.tl (limited to 'teal-src/util/human/io.d.tl') diff --git a/teal-src/util/human/io.d.tl b/teal-src/util/human/io.d.tl deleted file mode 100644 index e4f64cd1..00000000 --- a/teal-src/util/human/io.d.tl +++ /dev/null @@ -1,28 +0,0 @@ -local record lib - getchar : function (n : integer) : string - getline : function () : string - getpass : function () : string - show_yesno : function (prompt : string) : boolean - read_password : function () : string - show_prompt : function (prompt : string) : boolean - printf : function (fmt : string, ... : any) - padleft : function (s : string, width : integer) : string - padright : function (s : string, width : integer) : string - - -- {K:V} vs T ? - record tablerow - width : integer | string -- generate an 1..100 % enum? - title : string - mapper : function (V, {K:V}) : string - key : K - enum alignments - "left" - "right" - end - align : alignments - end - type getrow = function ({ K : V }) : string - table : function ({ tablerow }, width : integer) : getrow -end - -return lib -- cgit v1.2.3