author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 7 Nov 2006 07:18:18 +0000 (02:18 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 7 Nov 2006 08:05:18 +0000 (03:05 -0500) | ||
commit | ee3dc9354d23b1262fb9c71c648435e0ccf01d7e | |
tree | 7ec3bde2dbfb8aa40fae64b2c13303c51af7b2bc | tree | snapshot |
parent | 661448922fd55b907449962d35d3fdb92397ce9d | commit | diff |
git-gui: Correctly handle CR vs. LF within the console of fetch.
Because the remote end is likely to send us progress meters by
resetting each line with a CR (and no LF) we should display those
meters by replacing the last line of text with the next line,
just like a normal xterm would do.
This makes the output of fetch look about the same as if we ran it
from within an xterm.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Because the remote end is likely to send us progress meters by
resetting each line with a CR (and no LF) we should display those
meters by replacing the last line of text with the next line,
just like a normal xterm would do.
This makes the output of fetch look about the same as if we ran it
from within an xterm.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui | diff | blob | history |