diff options
author | 2023-04-05 18:27:43 -0700 | |
---|---|---|
committer | 2023-04-05 18:27:43 -0700 | |
commit | b50f3d3f6f429edd674a6c5dd8d182ba77361b69 (patch) | |
tree | b937cc2e0f4d9fc9175a9fde9b53aee762fa39ae | |
parent | 65d646bc68cb00ddac84f60a492b58c0edf5867f (diff) | |
download | bun-b50f3d3f6f429edd674a6c5dd8d182ba77361b69.tar.gz bun-b50f3d3f6f429edd674a6c5dd8d182ba77361b69.tar.zst bun-b50f3d3f6f429edd674a6c5dd8d182ba77361b69.zip |
Disable buffering when we clear terminal
hopefully fixes an issue reported in Discord
-rw-r--r-- | src/bun.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bun.zig b/src/bun.zig index 4a3dad9aa..ae987d4ec 100644 --- a/src/bun.zig +++ b/src/bun.zig @@ -1057,6 +1057,8 @@ pub fn reloadProcess( // Clear the terminal if (clear_terminal) { + Output.flush(); + Output.disableBuffering(); Output.resetTerminalAll(); } |