瀏覽代碼

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 年之前
父節點
當前提交
1dfa7e7595
共有 1 個文件被更改,包括 0 次插入2 次删除
  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;