shithub: orca

Download patch

ref: 6dacf8b7555f69dccc5eb3fbcc5078a478925e6a
parent: e32c016f59ac58b204c1345359ad5c7743f1f73b
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Feb 17 06:30:10 EST 2020

plan9: fix writing glyphs on non-insert modes

--- a/plan9.c
+++ b/plan9.c
@@ -646,10 +646,10 @@
 static void
 fieldmodeset(Rune key)
 {
-	if (mode == Minsert) {
+	if (mode != Mappend) {
 		selset(key);
 	} else {
-		fieldset(cur.x, cur.x, key);
+		fieldset(cur.x, cur.y, key);
 		curmove(1, 0);
 	}
 }