commit 75d5887e31271075919dc00ec76189f7e7246380
Author:     Jochen Sprickerhof <[email protected]>
AuthorDate: Tue Apr 14 23:37:27 2020 +0200
Commit:     Jochen Sprickerhof <[email protected]>
CommitDate: Tue Apr 14 23:37:27 2020 +0200

    Fix typo

diff --git a/scroll.c b/scroll.c
index 8e2b5cd..2c3dc99 100644
--- 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') {

Reply via email to