Idris2/tests/chez
Sören Tempel c725b11c89 Flush standard out after writing prompt to it
On Unix-like operating systems stdio.h is usually line-buffered. As
putStr uses fputs(3) from stdio.h internally, output will be written to
standard out after a newline character is written to the buffer. Since
the prompt does not contain a newline, it will only be written to
standard output after the user presses return. I encountered this issue
on Alpine Linux which uses musl libc (instead of glibc). However, I
believe this issue is likely also reproducible with glibc. This commit
fixes this issue by flushing standard output after writing the prompt to
it. Surprisingly, `src/Idris/IDEMode/REPL.idr` already does this
correctly, `src/Idris/REPL.idr` does not though.
2021-04-09 15:17:00 +01:00
..
barrier001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
channels001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
chez001 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez002 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez003 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez004 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez005 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez006 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez007 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez008 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez009 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez010 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez011 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez012 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez013 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez014 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez015 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez016 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez017 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez018 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez019 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez020 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez021 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez022 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez023 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez024 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez025 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez026 Rename --consolewidth option to --console-width for consistency 2020-08-19 11:59:31 +01:00
chez027 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez028 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez029 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
chez030 add extraRuntime option for Scheme backends (#578) 2020-08-21 09:34:57 +01:00
chez031 [ cosmetic ] nicer error messages for uncaught exceptions 2021-03-25 15:59:46 +00:00
chez032 Flush standard out after writing prompt to it 2021-04-09 15:17:00 +01:00
forkjoin001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
futures001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
perf001 [ fix #724 ] Typo in the magic string (#726) 2020-10-03 14:39:13 +01:00
reg001 Rename --consolewidth option to --console-width for consistency 2020-08-19 11:59:31 +01:00
semaphores001 Overhaul of concurrency primitives (#968) 2021-02-05 16:16:20 +00:00
semaphores002 [ fix #758 ] desugar non-binding sequencing in do blocks to (>>) (#1095) 2021-02-24 11:07:16 +00:00