1
Fork 0
mirror of https://github.com/RGBCube/ZTerm synced 2025-07-29 08:57:46 +00:00

Fix code,

This commit is contained in:
RGBCube 2023-05-17 22:42:09 +03:00
parent 51a1224a51
commit acc8f529ef
2 changed files with 32 additions and 37 deletions

View file

@ -1 +1,11 @@
const Spinner = @import("src/Spinner.zig");
const time = @import("std").time;
pub fn main() !void {
var sp = Spinner.new(null, null, "Loading...");
try sp.start();
time.sleep(5 * time.ns_per_s);
sp.stop();
}