cm0002@lemmy.world to Programmer Humor@programming.dev · 13 days agoDoes this exist anywhere outside of C++?imagemessage-square9fedilinkarrow-up179
arrow-up179imageDoes this exist anywhere outside of C++?cm0002@lemmy.world to Programmer Humor@programming.dev · 13 days agomessage-square9fedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up2·edit-212 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