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
else
STATUS="No player is running"
exit
fi
if [ "$1" == "--status" ]; then

View file

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

View file

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

View file

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