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:
parent
2465559051
commit
2090981be3
4 changed files with 16 additions and 9 deletions
3
st.h
3
st.h
|
|
@ -132,6 +132,7 @@ int borderpx;
|
|||
|
||||
/* config.h globals */
|
||||
extern char *utmp;
|
||||
extern char *scroll;
|
||||
extern char *stty_args;
|
||||
extern char *vtiden;
|
||||
extern wchar_t *worddelimiters;
|
||||
|
|
@ -145,4 +146,4 @@ extern const int boxdraw, boxdraw_bold, boxdraw_braille;
|
|||
#endif // BOXDRAW_PATCH
|
||||
#if ALPHA_PATCH
|
||||
extern float alpha;
|
||||
#endif // ALPHA_PATCH
|
||||
#endif // ALPHA_PATCH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue