summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorspew <devnull@localhost>2020-02-13 16:09:25 -0500
committerspew <devnull@localhost>2020-02-13 16:09:25 -0500
commit234aafb38da9d3486cceda5c28b529a5343fdf65 (patch)
treef36eb53a5003d991de77cc6b853cf6c2ba6f357c /sys
parent98374d6eeae45278a5e21a53d7ad40d2afdd8439 (diff)
acme(1): fix scrolling when swiping text at the top or bottom of a frame
Diffstat (limited to 'sys')
-rw-r--r--sys/src/cmd/acme/text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/acme/text.c b/sys/src/cmd/acme/text.c
index b96213a68..246a2cd70 100644
--- a/sys/src/cmd/acme/text.c
+++ b/sys/src/cmd/acme/text.c
@@ -907,6 +907,7 @@ textframescroll(Text *t, int dl)
textsetselect(t, selectq, t->org+t->p1);
}
textsetorigin(t, q0, TRUE);
+ flushimage(display, 1);
}