From: Patrick Date: Sat, 22 Jul 2023 14:18:26 +0000 (+0200) Subject: main2.c X-Git-Url: https://gitweb.ps.run/iftint/commitdiff_plain/8827b84eeea76b08632d0f7c52488f5af2f83092?hp=61d0c7f8a017104e82cb62356d6591f8101e07db main2.c --- diff --git a/main2.c b/main2.c new file mode 100644 index 0000000..e462674 --- /dev/null +++ b/main2.c @@ -0,0 +1,17 @@ +#include +#include + +#define ASCII_ESC 27 + +int main() { + int c; + printf("Hallo\n"); + c = getch(); + printf("%c[2J", ASCII_ESC); + printf("%c[H", ASCII_ESC); + printf("c: %c\n", c); + + c = getch(); + + return 0; +} \ No newline at end of file