cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square55fedilinkarrow-up1162arrow-down122cross-posted to: programmerhumor@lemmy.ml
arrow-up1140arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square55fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up3·edit-21 day agoIt depends on whether you are printing to a terminal or to a file (and yes the terminal is also a file), and even then you can control the flushing behaviour using something like unbuffer
It depends on whether you are printing to a terminal or to a file (and yes the terminal is also a file), and even then you can control the flushing behaviour using something like
unbuffer