Compare commits

...

1 commit

Author SHA1 Message Date
293e242742 Minor changes 2025-01-17 13:14:44 +02:00

8
main.c
View file

@ -21,6 +21,7 @@ struct termios orig_termios;
int main() { int main() {
clear();
enableRawMode(); enableRawMode();
char c; char c;
@ -68,9 +69,10 @@ int main() {
} }
void drawWin() { void drawWin() {
clear(); //clear();
gotoxy(1, 1);
printf("Kaari - Binarier font editor\r\n"); printf("Kaari - Binarier font editor\r\n");
printf("+--------+\r\n"); printf("+--------+ Char \"%c\" / %d / 0x%X \r\n", currchar, currchar, currchar);
int cstart=32; int cstart=32;
int cperline=16; int cperline=16;
@ -87,7 +89,7 @@ void drawWin() {
printf("\r\n"); printf("\r\n");
} }
printf("+--------+\r\nQ:Quit PgUP/DWN:Switch char\r\n"); printf("+--------+\r\nArrows:Move PgUP/DWN:Char Q:Quit");
resetCurPos(); resetCurPos();