shithub: vexed

Download patch

ref: 217c74a16cbcc2495149c56bf501868c4991c945
parent: 52c0e4fdfba63b17eb6df7491a4b1d9d8d03ce19
author: phil9 <telephil9@gmail.com>
date: Tue Dec 28 02:34:25 EST 2021

reset edition sequence appropriately

	edition sequence was not reset when any motion
	key was pressed leading to erroneous changes to
	the file

--- a/vexed.c
+++ b/vexed.c
@@ -258,6 +258,8 @@
 	static int lastv;
 	long e;
 
+	if(!isxdigit(k))
+		lastv = -1;
 	e = time(nil);
 	switch(k){
 	case 'q':