Ver Fonte

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 há 5 anos atrás
pai
commit
1dfa7e7595
1 ficheiros alterados com 0 adições e 2 exclusões
  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;