summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-07-15 18:23:16 -0400
committerJakob Kaivo <jkk@ung.org>2020-07-15 18:23:16 -0400
commit1a0a15bab57e9735483a244a27489e628addf0b5 (patch)
tree314c2771067e5ae5afc4a6d103231401e9102ff5
parent344424ffafe5e3b310b5595d897579544abdb90d (diff)
refresh after scrolling
-rw-r--r--more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/more.c b/more.c
index 108f70b..3d3cc5a 100644
--- a/more.c
+++ b/more.c
@@ -50,7 +50,7 @@ void scroll(const struct more_tty *mt, struct more_file *mf, int count, int mult
if (more_getline(mf, mf->topline + mt->lines + 1) < 0) {
break;
}
- printf("%s", mf->buf);
+ refresh(mt, mf);
}
}