summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mothra/libpanel/textwin.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-08 22:25:23 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-08 22:25:23 +0200
commit0b6f559ebca69f6ad8b73d376d08d77df27f11bb (patch)
treec314673a88acdb85b15327acda5b7438acad25e2 /sys/src/cmd/mothra/libpanel/textwin.c
parent5b35bbce54fda77e65f0264ea93776e154cada18 (diff)
mothra: edit selection fix
Diffstat (limited to 'sys/src/cmd/mothra/libpanel/textwin.c')
-rw-r--r--sys/src/cmd/mothra/libpanel/textwin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/libpanel/textwin.c b/sys/src/cmd/mothra/libpanel/textwin.c
index d752a4496..01c8a3573 100644
--- a/sys/src/cmd/mothra/libpanel/textwin.c
+++ b/sys/src/cmd/mothra/libpanel/textwin.c
@@ -228,6 +228,7 @@ void twselect(Textwin *t, Mouse *m){
p1=addpt(p0, Pt(1, 0));
twhilite(t, sel0, sel1, 1);
for(;;){
+ flushimage(display, 1);
*m=emouse();
if((m->buttons&7)!=1) break;
newsel=twpt2rune(t, m->xy);