Introduction
Introduction Statistics Contact Development Disclaimer Help
Ignore carriage return in history - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit fa406caa11cb4319aab8922b90c0b969998027fc
parent b539656abde01eaf06fb7c427aae35546c233a08
Author: Jochen Sprickerhof <[email protected]>
Date: Sun, 3 May 2020 22:56:00 +0200
Ignore carriage return in history
Diffstat:
M scroll.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git 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;
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.