Skip to content

Commit

Permalink
shell: sleep for 10ms between two repl loop
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Oct 23, 2024
1 parent f2a6e94 commit d76d8ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shell.zig
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ pub fn shellExec(
if (cmd_ctx.close) {
break;
}
std.time.sleep(10 * std.time.ns_per_ms); // 10ms
}
}

Expand Down

0 comments on commit d76d8ba

Please sign in to comment.