Introduction
Introduction Statistics Contact Development Disclaimer Help
Revert "Revert "Ignore carriage return in history"" - scroll - scrollbackbuffer…
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit 0e8130becf0f5d73cf16f262664248f5b1a813fc
parent 9e88f14d06e0e8be7bae7fcea10f5e57b88cf0b9
Author: Jochen Sprickerhof <[email protected]>
Date: Mon, 4 May 2020 08:58:38 +0200
Revert "Revert "Ignore carriage return in history""
This reverts commit 1dfa7e759525944d50614caf96ce0acf8b52abeb.
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.