Change Ctrl+l behaviour
From now on, Ctrl+l scrolls up the screen and preserves the scrollback buffer. Fixes #46.
This commit is contained in:
parent
df36caf56b
commit
a705b714b5
4 changed files with 121 additions and 65 deletions
1
st.h
1
st.h
|
|
@ -148,6 +148,7 @@ typedef struct {
|
|||
#if SCROLLBACK_PATCH
|
||||
Line hist[HISTSIZE]; /* history buffer */
|
||||
int histi; /* history index */
|
||||
int histn; /* number of history entries */
|
||||
int scr; /* scroll back */
|
||||
#endif // SCROLLBACK_PATCH
|
||||
int *dirty; /* dirtyness of lines */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue