shithub: vdiff

Download patch

ref: 178f835c225c2aa3f59a2b226caa18080f613f62
parent: 78df7cace5c34f04746d3b915d236215a7a2ba66
author: phil9 <telephil9@gmail.com>
date: Sun Dec 5 00:19:17 EST 2021

add line scrolling using up/down arrows

--- a/vdiff.c
+++ b/vdiff.c
@@ -341,6 +341,12 @@
 			case Kpgdown:
 				scroll(nlines);
 				break;
+			case Kup:
+				scroll(-1);
+				break;
+			case Kdown:
+				scroll(1);
+				break;
 			}
 			break;
 		}