diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-12-22 07:11:20 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-12-22 07:11:20 +0000 |
commit | d8d82215561305cb7af0a33d7810cbb9cadb2cea (patch) | |
tree | ee77b2e7867d524d6d23ee5e2a783ae8bf5bdb53 /src/pacman/log.h | |
parent | 796490546e2d3868a387ff18b05f2fa382a9aa7e (diff) | |
download | 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.h | 2 |
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); |