summaryrefslogtreecommitdiffstats
path: root/src/pacman/log.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-22 08:11:20 +0100
committerAaron Griffin <aaron@archlinux.org>2006-12-22 08:11:20 +0100
commitd8d82215561305cb7af0a33d7810cbb9cadb2cea (patch)
treeee77b2e7867d524d6d23ee5e2a783ae8bf5bdb53 /src/pacman/log.h
parent796490546e2d3868a387ff18b05f2fa382a9aa7e (diff)
downloadpacman-d8d82215561305cb7af0a33d7810cbb9cadb2cea.tar.gz
pacman-d8d82215561305cb7af0a33d7810cbb9cadb2cea.tar.xz
Modified front end output routines to accept a "padding' setting, which pads any
statement with ' ' until the size of the terminal. The rationale is that, when a log message is emitted during progress bar display, the terminal is artifacted. This prevents that messiness.
Diffstat (limited to 'src/pacman/log.h')
-rw-r--r--src/pacman/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pacman/log.h b/src/pacman/log.h
index ff7fde50..01a507c3 100644
--- a/src/pacman/log.h
+++ b/src/pacman/log.h
@@ -36,6 +36,8 @@ enum {
CL /* current line */
};
+void set_output_padding(int on);
+
/* callback to handle messages/notifications from pacman library */
void cb_log(unsigned short level, char *msg);