mirror of
https://github.com/janet-lang/janet
synced 2024-12-25 07:50:27 +00:00
Fix windows getline.
This commit is contained in:
parent
7c35acca75
commit
a5e50a0f65
@ -59,7 +59,7 @@ void janet_line_deinit() {
|
||||
void janet_line_get(const char *p, JanetBuffer *buffer) {
|
||||
FILE *out = janet_dynfile("out", stdout);
|
||||
fputs(p, out);
|
||||
fflush(p, out);
|
||||
fflush(out);
|
||||
simpleline(buffer);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user