[pacman-dev] [PATCH 11/16] have question properly reset itself
Simon Gomizelj
simongmzlj at gmail.com
Fri Mar 1 16:32:40 EST 2013
Signed-off-by: Simon Gomizelj <simongmzlj at gmail.com>
---
src/pacman/util.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 43afd5c..a190765 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -1501,6 +1501,9 @@ static int question(short preset, const char *format, va_list args)
fprintf(stream, " %s ", _("[y/N]"));
}
+ fputs(colstr.nc, stream);
+ fflush(stream);
+
if(config->noconfirm) {
fprintf(stream, "\n");
return preset;
--
1.8.1.4
More information about the pacman-dev
mailing list