summaryrefslogtreecommitdiff
path: root/pager.c
diff options
context:
space:
mode:
authorLibravatar Miklos Vajna <vmiklos@frugalware.org>2008-10-10 00:07:10 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-10-10 08:01:40 -0700
commitb8eecafd888d219633f4c29e8b6a90fc21a46dfd (patch)
treef51ae90a6e733d702f5a7e1be3ff506b4f951c4c /pager.c
parentfix pread()'s short read in index-pack (diff)
downloadtgif-b8eecafd888d219633f4c29e8b6a90fc21a46dfd.tar.xz
test-lib: fix color reset in say_color()
When executing a single test with colors enabled, the cursor was not set back to the previous one, and you had to hit an extra enter to get it back. Work around this problem by calling 'tput sgr0' before printing the final newline. Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'pager.c')
0 files changed, 0 insertions, 0 deletions