This commit is contained in:
2025-07-02 00:07:49 -07:00
commit c208c6b35d
114 changed files with 71862 additions and 0 deletions

18
c/key.c Normal file
View File

@ -0,0 +1,18 @@
#include <ncurses.h>
int main() {
initscr();
cbreak();
noecho();
printw("press h to do something, and q to quit.\n");
int ch;
while ((ch = getch()) != 'q') {
if (ch == 'h') {
printw("yep thats h\n");
}
}
endwin();
return 0;
}