Introduction
Introduction Statistics Contact Development Disclaimer Help
Don't scrollup if history is empty - scroll - scrollbackbuffer program for st
git clone git://git.suckless.org/scroll
Log
Files
Refs
README
LICENSE
---
commit bbdc448cf73235f0f9a9c02b679c9e6e46bfc5fd
parent d5a014f1bdb047b6fbfa34e4e2354f121033aeff
Author: Jochen Sprickerhof <[email protected]>
Date: Sun, 19 Apr 2020 21:28:35 +0200
Don't scrollup if history is empty
Diffstat:
M scroll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/scroll.c b/scroll.c
@@ -304,7 +304,7 @@ scrollup(int n)
rows -= x;
- if (rows <= 0)
+ if (scrollend == NULL || rows <= 0)
return;
/* move the text in terminal rows lines down */
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.