From da89b3f6cdf17dbaeba9aa25e22f1b8313f97536 Mon Sep 17 00:00:00 2001 From: Cody Date: Wed, 28 Jun 2023 14:28:43 -0500 Subject: Cursor hiding in conways game of life --- std/stdio.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'std/stdio.c') diff --git a/std/stdio.c b/std/stdio.c index d3ff5a0..f6dbeaf 100644 --- a/std/stdio.c +++ b/std/stdio.c @@ -18,3 +18,11 @@ void termpos(int x, int y) { void termclear() { printf("\x1b[2J\x1b[H"); } + +void curshide() { + print("\x1b[?25l"); +} + +void cursshow() { + print("\x1b[?25h"); +} -- cgit v1.2.3