Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/doc-git-updates' into maint
[gitweb.git]
/
compat
/
terminal.c
diff --git
a/compat/terminal.c
b/compat/terminal.c
index 6d16c8fba0b305a2e1020d9e1c7f1d1ad64d302f..bbb038dd0103034b85b0e9d407dfa91e607c1eeb 100644
(file)
--- a/
compat/terminal.c
+++ b/
compat/terminal.c
@@
-59,6
+59,7
@@
char *git_terminal_prompt(const char *prompt, int echo)
r = strbuf_getline(&buf, fh, '\n');
if (!echo) {
+ fseek(fh, SEEK_CUR, 0);
putc('\n', fh);
fflush(fh);
}