Archived
0
0
Fork 0

bug fixes

This commit is contained in:
Daryl Ronningen 2022-07-16 21:28:15 -07:00
parent fbcaf5f7ed
commit efe4d0d80c
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
4 changed files with 11 additions and 2 deletions

View file

@ -36,6 +36,7 @@ if [ $EXIT_CODE -eq 0 ]; then
STATUS=$PLAYERCTL_STATUS STATUS=$PLAYERCTL_STATUS
else else
STATUS="No player is running" STATUS="No player is running"
exit
fi fi
if [ "$1" == "--status" ]; then if [ "$1" == "--status" ]; then

View file

@ -26,9 +26,9 @@ super + p
super + shift + q super + shift + q
slock slock
# Chrome # Firefox
super + b super + b
google-chrome-unstable firefox-nightly
# Discord # Discord
super + d super + d

View file

@ -26,3 +26,5 @@
side-by-side = true side-by-side = true
[diff] [diff]
colorMoved = default colorMoved = default
[tag]
forceSignAnnotated = true

View file

@ -25,6 +25,12 @@ kscrollup(const Arg* a)
if (n < 0) if (n < 0)
n = term.row + n; n = term.row + n;
if (term.scr + n > term.histi)
n = term.histi - term.scr;
if (!n)
return;
if (term.scr <= HISTSIZE-n) { if (term.scr <= HISTSIZE-n) {
term.scr += n; term.scr += n;
selscroll(0, n); selscroll(0, n);