Răsfoiți Sursa

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 5 ani în urmă
părinte
comite
1dfa7e7595
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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;