commit fa406caa11cb4319aab8922b90c0b969998027fc
Author:     Jochen Sprickerhof <[email protected]>
AuthorDate: Sun May 3 22:56:00 2020 +0200
Commit:     Jochen Sprickerhof <[email protected]>
CommitDate: Sun May 3 22:56:00 2020 +0200

    Ignore carriage return in history

diff --git a/scroll.c b/scroll.c
index 86241b8..b58f059 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