From 2cf498f7bf1311ebca156315a0c9ac25b0addef5 Mon Sep 17 00:00:00 2001 From: Cody Date: Tue, 27 Jun 2023 04:03:26 -0500 Subject: Working conways game of life --- std/stdlib.sloth | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'std/stdlib.sloth') diff --git a/std/stdlib.sloth b/std/stdlib.sloth index 913fd0b..eb6000d 100644 --- a/std/stdlib.sloth +++ b/std/stdlib.sloth @@ -5,8 +5,6 @@ foreign fn slen(str: String) Int; foreign fn parse_int(str: String) Int; foreign fn termpos(x: Int, y: Int); foreign fn as_int(x: Float) Int; -foreign fn istr(x: Int) Int; +#foreign fn istr(x: Int) Int; -fn termclear() Void { - print("\x1b[2J\x1b[H"); -} +foreign fn termclear() Void; -- cgit v1.2.3