Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

Commit bea4c6f

Browse files
committed
在kaizaoji.cn中添加清屏命令以改善输出显示,移除循环中的重复清屏调用。
1 parent 855fd0a commit bea4c6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kaizaoji.cn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using ns std;
55

66
fn main() : int {
77
while (true) {
8+
exec("powershell", "-Command", "Clear-Host");
89
println(" 🎃");
910
println("██░░██");
1011
println(" ░░");
@@ -14,7 +15,6 @@ fn main() : int {
1415
println("░░██░░");
1516
println(" ██");
1617
sleep_seconds(0.2);
17-
exec("powershell", "-Command", "Clear-Host");
1818
};
1919
return 0;
2020
};

0 commit comments

Comments
 (0)