diff options
| author | nic-gaffney <gaffney_nic@protonmail.com> | 2023-06-27 03:19:39 -0500 |
|---|---|---|
| committer | nic-gaffney <gaffney_nic@protonmail.com> | 2023-06-27 03:19:39 -0500 |
| commit | 5d958f8af1646f9cb4763bb2f020bb2e6de8a3c0 (patch) | |
| tree | 32321069ed7dd49c567b53a13dfbb07e1e95f88b /std/stdio.c | |
| parent | 9f7f0f925f9304ac46499caf0fef245083a78828 (diff) | |
| download | sloth-5d958f8af1646f9cb4763bb2f020bb2e6de8a3c0.tar.gz | |
help
Diffstat (limited to 'std/stdio.c')
| -rw-r--r-- | std/stdio.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); +} |
