Parcourir la source

Revert "Ignore carriage return in history"

Using st and zsh, this breaks the scrollback and messes it up. Meaning,
it is not rendered properly.

This reverts commit fa406caa11cb4319aab8922b90c0b969998027fc which
introduces the bug.
parazyd il y a 5 ans
Parent
commit
1dfa7e7595
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      scroll.c

+ 0 - 2
scroll.c

@@ -179,8 +179,6 @@ skipesc(char c)
 
 	switch (state) {
 	case CHAR:
-		if (c == '\r')
-			return true;
 		if (c == '\033')
 			state = BREK;
 		break;