treesummaryrefslogcommitdiff
path: root/main2.c
blob: e462674535e0fa56c2515165f58bbed59ac6a9c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>
#include <conio.h>

#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;
}