lpbar_update: Do not prepend CR to the output
commit327de3cee265d47703d76b255e4cd77549ead95b
authorToni Gundogdu <legatvs@gmail.com>
Sun, 9 Jun 2013 19:05:41 +0000 (9 22:05 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Mon, 10 Jun 2013 09:46:51 +0000 (10 12:46 +0300)
treeac61436965bf2ef689132f6303608722f3495a74
parent9df5b45afa6864cac09c104dd12a3d57abbd388d
lpbar_update: Do not prepend CR to the output

Instead, append it (CR, '\r') to the output -- unless the transfer is
complete, in which case, the output should end to a newline (LF, '\n').

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
src/pbar/lpbar.c