[hackers] [scroll] Ignore carriage return in history || Jochen Sprickerhof
commit fa406caa11cb4319aab8922b90c0b969998027fc
Author: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
AuthorDate: Sun May 3 22:56:00 2020 +0200
Commit: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
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
_AT_@ -179,6 +179,8 @@ skipesc(char c)
switch (state) {
case CHAR:
+ if (c == '\r')
+ return true;
if (c == '\033')
state = BREK;
break;
Received on Sun May 03 2020 - 22:56:35 CEST
This archive was generated by hypermail 2.3.0
: Sun May 03 2020 - 23:00:39 CEST