git: 9front

Download patch

ref: 29bef5a7f30fb237b1e3ea5fac1be2eb1d2cf5cd
parent: cdcfbf0342975a69e5073c1c77fbe132b0ad1287
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);
--