refactor: basic screen

This commit is contained in:
eneller
2026-01-31 16:29:11 +01:00
parent 1bc97df0da
commit 764ce43138
4 changed files with 34 additions and 54 deletions

7
src/app/util.ts Normal file
View File

@@ -0,0 +1,7 @@
export function* iter(list: any[]){
let index = 0;
while(true){
yield list[index % list.length];
index++;
}
}