From 5d958f8af1646f9cb4763bb2f020bb2e6de8a3c0 Mon Sep 17 00:00:00 2001 From: nic-gaffney Date: Tue, 27 Jun 2023 03:19:39 -0500 Subject: help --- std/stdio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'std/stdio.c') diff --git a/std/stdio.c b/std/stdio.c index 1a4d98c..a257f67 100644 --- a/std/stdio.c +++ b/std/stdio.c @@ -10,3 +10,7 @@ char* readln() { void print(char *str) { fputs(str, stdout); } + +void termpos(int x, int y) { + printf("\x1b[%d;%dH", x, y); +} -- cgit v1.2.3