mirror of
https://github.com/janet-lang/janet
synced 2025-10-30 15:13:03 +00:00
Fix windows getline.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user