summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/shotty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/shotty.c b/bin/shotty.c
index 17dc714d..66651af8 100644
--- a/bin/shotty.c
+++ b/bin/shotty.c
@@ -68,7 +68,7 @@ static void clear(struct Cell *a, struct Cell *b) {
 static char updateNUL(wchar_t ch) {
 	switch (ch) {
 		case BS: if (x) x--; return NUL;
-		case NL: y = MIN(y + 1, rows - 1); x = 0; return NUL;
+		case NL: y = MIN(y + 1, rows - 1); return NUL;
 		case CR: x = 0; return NUL;
 		case ESC: return ESC;
 	}
9dd8b83becd4c7fc5&follow=1'>Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe