cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square49fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageDoes this exist anywhere outside of C++?lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square49fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up0·edit-22 months 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