cm0002@lemmy.world to Programmer Humor@programming.dev · 11 days agoDoes this exist anywhere outside of C++?lemmy.mlexternal-linkmessage-square59fedilinkarrow-up1167arrow-down123cross-posted to: [email protected]
arrow-up1144arrow-down1external-linkDoes this exist anywhere outside of C++?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 11 days agomessage-square59fedilinkcross-posted to: [email protected]
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up3·edit-210 days 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