Add support for scroll(1)

Scroll is a program that stores all the lines of its child and be used in st as
a way of implementing scrollback.

This solution is much better than implementing the scrollback in st itself
because having a different program allows to use it in any other program
without doing modifications to those programs.
This commit is contained in:
Roberto E. Vargas Caballero
2020-04-10 22:06:32 +02:00
committed by Hiltjo Posthuma
parent 5703aa0390
commit 21e0d6e8b8
4 changed files with 15 additions and 8 deletions

1
st.h
View File

@ -113,6 +113,7 @@ char *xstrdup(char *);
/* config.h globals */
extern char *utmp;
extern char *scroll;
extern char *stty_args;
extern char *vtiden;
extern wchar_t *worddelimiters;