diff options
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); +} |
