aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2024-05-29 15:36:50 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2024-06-02 14:47:07 -0400
commitdcfda195d2c1e215dd506253703fc04e660c9fc6 (patch)
tree8a8b58c0ac9655319746b7670f349fc437c12b54 /core
parenta1c5bebac72d14711c317e393d337143df17ca87 (diff)
Send terminal control code to `STDOUT` instead
`STDERR` might be redirected, and this code signals to the terminal to show the cursor again. Otherwise, the cursor will be invisible.
Diffstat (limited to 'core')
-rw-r--r--core/testing/runner.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/testing/runner.odin b/core/testing/runner.odin
index 734b143a6..3b4e59e48 100644
--- a/core/testing/runner.odin
+++ b/core/testing/runner.odin
@@ -667,7 +667,7 @@ runner :: proc(internal_tests: []Internal_Test) -> bool {
}
}
- fmt.wprint(batch_writer, ansi.CSI + ansi.DECTCEM_SHOW)
+ fmt.wprint(stdout, ansi.CSI + ansi.DECTCEM_SHOW)
fmt.wprintln(stderr, bytes.buffer_to_string(&batch_buffer))