aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/acme/exec.c')
-rw-r--r--src/cmd/acme/exec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/acme/exec.c b/src/cmd/acme/exec.c
index ad4da001..8262be4a 100644
--- a/src/cmd/acme/exec.c
+++ b/src/cmd/acme/exec.c
@@ -960,8 +960,9 @@ sendx(Text *et, Text *t, Text *_0, int _1, int _2, Rune *_3, int _4)
if(textreadc(t, t->file->b.nc-1) != '\n'){
textinsert(t, t->file->b.nc, Lnl, 1, TRUE);
textsetselect(t, t->file->b.nc, t->file->b.nc);
- textshow(t, t->q1, t->q1, 1);
}
+ t->iq1 = t->q1;
+ textshow(t, t->q1, t->q1, 1);
}
void