chiark
/
gitweb
/
~richardk
/
rsbackup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
cd13676
)
Tidy up interactive prompt.
author
Richard Kettlewell
<rjk@terraraq.org.uk>
Sun, 9 Dec 2012 20:41:39 +0000 (20:41 +0000)
committer
Richard Kettlewell
<rjk@terraraq.org.uk>
Sun, 9 Dec 2012 20:41:39 +0000 (20:41 +0000)
src/Check.cc
patch
|
blob
|
history
diff --git
a/src/Check.cc
b/src/Check.cc
index
8bc773c
..
3269664
100644
(file)
--- a/
src/Check.cc
+++ b/
src/Check.cc
@@
-32,7
+32,7
@@
bool check(const char *format, ...) {
va_start(ap, format);
IO::out.vwritef(format, ap);
va_end(ap);
- IO::out.writef("yes/no> ");
+ IO::out.writef("\nyes/no> ");
IO::out.flush();
// Get a yes/no answer
if(!fgets(buffer, sizeof buffer, stdin)) {