mirror of
https://github.com/MeexReay/poshlostios.git
synced 2025-06-24 02:22:58 +03:00
20 lines
399 B
JavaScript
20 lines
399 B
JavaScript
eval(readFile("/app/zcom.js"))
|
|
|
|
async function main(args) {
|
|
enableGraphics()
|
|
|
|
window.mxwm_windows = []
|
|
|
|
let ctx = getGraphics()
|
|
|
|
while (true) {
|
|
ctx.fillStyle = "black"
|
|
ctx.fillRect(0, 0, ctx.canvas.width, ctx.canvas.height)
|
|
|
|
for (const win of window.mxwm_windows) {
|
|
ctx.drawImage(win.canvas, win.x, win.y);
|
|
}
|
|
}
|
|
|
|
disableGraphics()
|
|
} |