diff options
| author | Cody <cody@codyq.dev> | 2023-06-26 23:41:21 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-06-26 23:41:21 -0500 |
| commit | a3c5134ee7581168947df8a050c332d7cb7aa426 (patch) | |
| tree | 01631812f37e4c3d124928a14f169796c58a7a0e /std/stdlib.sloth | |
| parent | 8c9bd55e161ba5fcaea626a1db2e0b685ac4f096 (diff) | |
| download | sloth-a3c5134ee7581168947df8a050c332d7cb7aa426.tar.gz | |
Strings and so much more
Diffstat (limited to 'std/stdlib.sloth')
| -rw-r--r-- | std/stdlib.sloth | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/stdlib.sloth b/std/stdlib.sloth index d7ddeff..cc404f6 100644 --- a/std/stdlib.sloth +++ b/std/stdlib.sloth @@ -1,10 +1,10 @@ foreign fn wait(x: Int) Void; foreign fn print(str: String) Void; foreign fn slen(str: String) Int; -foreign fn charAt(str: String) Char; +# foreign fn charAt(str: String) Char; foreign fn parse_int(str: String) Int; -fn termpos(x: int, y: int) Void { +fn termpos(x: Int, y: Int) Void { print("\x1b["); print(x); print(";"); |
