renamed types and constants

This commit is contained in:
2026-01-09 02:21:50 +05:00
parent b725182544
commit f7b4809db8
9 changed files with 300 additions and 524 deletions

View File

@@ -1,5 +1,6 @@
#include "../tim.h" // one header, no lib
int main(void) { //
#include "../tim.h"
int main(void) {
while (tim_run(0)) { // event loop
scope (A, A, 24, 8) { // centered 24x8 scope
uint64_t c = 0x0a060f; // three colors
@@ -9,7 +10,7 @@ int main(void) { //
return 0; // exit on button click
if (is_key_press('q')) // ctrl-c is masked
return 0; // exit on 'q' press
} //
} // atexit cleanup
}
} //TODO: remove atexit cleanup
}