richterm

"terminal emulator" with support for text fonts and images for plan9
git clone git://nsmpr.xyz/richterm.git
Log | Files | Refs | README

commit c5d084f4515e8965110be9579c726c27cce0feba
parent 462539e21c1c85cd58bd471a27cd012f01daae6a
Author: Pavel Renev <an2qzavok@gmail.com>
Date:   Mon, 18 Oct 2021 17:25:03 +0000

richterm: recalculate scroll.max.y on redraw

Diffstat:
Mrichterm.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/richterm.c b/richterm.c @@ -688,6 +688,8 @@ redraw(Object *) drawobject(obj, &cur); } rich.page.max = cur; + if (rich.page.scroll.y > rich.page.max.y) + rich.page.scroll.y = rich.page.max.y; qunlock(rich.l); }