Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix typo - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit 75d5887e31271075919dc00ec76189f7e7246380
parent db05bd231885621108b77ae27375df121b78535c
Author: Jochen Sprickerhof <[email protected]>
Date: Tue, 14 Apr 2020 23:37:27 +0200
Fix typo
Diffstat:
M scroll.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/scroll.c b/scroll.c
@@ -199,7 +199,7 @@ strelen(const char *buf, size_t size)
/* detect alternative screen switching and clear screen */
bool
-scipesc(char c)
+skipesc(char c)
{
static enum {CHAR, BREK, ESC} state = CHAR;
static char buf[BUFSIZ];
@@ -526,7 +526,7 @@ main(int argc, char *argv[])
for (char *c = input; n-- > 0; c++) {
/* don't save alternative screen and */
/* clear screen esc sequences to scrollback */
- if (scipesc(*c))
+ if (skipesc(*c))
continue;
if (*c == '\n') {
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.