commit 0e8130becf0f5d73cf16f262664248f5b1a813fc
Author:     Jochen Sprickerhof <[email protected]>
AuthorDate: Mon May 4 08:58:38 2020 +0200
Commit:     Jochen Sprickerhof <[email protected]>
CommitDate: Mon May 4 08:58:38 2020 +0200

    Revert "Revert "Ignore carriage return in history""
    
    This reverts commit 1dfa7e759525944d50614caf96ce0acf8b52abeb.

diff --git a/scroll.c b/scroll.c
index c847ec1..6cb192a 100644
--- a/scroll.c
+++ b/scroll.c
@@ -179,6 +179,8 @@ skipesc(char c)
 
        switch (state) {
        case CHAR:
+               if (c == '\r')
+                       return true;
                if (c == '\033')
                        state = BREK;
                break;

Reply via email to