Jelajahi Sumber

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 tahun lalu
induk
melakukan
1dfa7e7595
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  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;