ref: acf707cbbc3e8c1e0c59936a4cde347211b11a36
parent: 493bac79b63f1949a29aeec8270fab4a599a6ee3
author: Ori Bernstein <ori@eigenstate.org>
date: Tue Oct 29 10:15:18 EDT 2024
samterm: make right arrow move to the right of dot (thanks llamaa)
--- a/sys/src/cmd/samterm/main.c
+++ b/sys/src/cmd/samterm/main.c
@@ -583,7 +583,7 @@
center(l, a0);
}else if(c == Kright){
flushtyping(0);
- a0 = l->p0;
+ a0 = l->p1;
if(a0 < t->rasp.nrunes)
a0++;
flsetselect(l, a0, a0);