Skip to content

Commit c65e7e6

Browse files
committed
Disable buffering for vim -W <scriptout>
1 parent 1ba220a commit c65e7e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.c

+1
Original file line numberDiff line numberDiff line change
@@ -2419,6 +2419,7 @@ command_line_scan(parmp)
24192419
mch_errmsg("\"\n");
24202420
mch_exit(2);
24212421
}
2422+
setvbuf(scriptout, NULL, _IONBF, 0);
24222423
break;
24232424

24242425
#ifdef FEAT_GUI_W32

0 commit comments

Comments
 (0)