1
0
Fork 0
forked from AbleOS/ableos
ableos-idl/sysdata/programs/sunset_server/src/main.hb

11 lines
302 B
Plaintext

sunset := @use("../../../libraries/sunset_proto/src/lib.hb")
render := @use("../../../libraries/render/src/lib.hb")
main := fn(): void {
screen := render.init(true)
sunset.server.start()
loop if sunset.server.incoming() {
sunset.server.collect_frames()
sunset.server.render_clients(screen)
}
}