Closed livingsilver94 closed 4 months ago
This is mostly code style you may not agree with, but I think the replacement of the reader and writer wrappers is a win.
TermSize
get_size()
ProgressReader
ProgressWriter
wrap_read()
wrap_write()
read()
write()
This is mostly code style you may not agree with, but I think the replacement of the reader and writer wrappers is a win.
TermSize
now implements the Default trait, and the previousget_size()
function is nowTermSize
's constructor.ProgressReader
andProgressWriter
are replaced by indicatif'swrap_read()
andwrap_write()
:read()
andwrite()
for convenience