Use less as sms pager to allow scrollback

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
Stacy Harper 2021-03-27 13:58:29 +01:00 committed by Maarten van Gompel
parent cc8dc37015
commit 3bb3fb6094

View file

@ -108,9 +108,9 @@ senddrafttextmenu() {
tailtextlog() { tailtextlog() {
if [ "$TERMMODE" != "true" ]; then if [ "$TERMMODE" != "true" ]; then
st -e tail -n9999 -f "$LOGDIR/$1/sms.txt" st -e less +F "$LOGDIR/$1/sms.txt"
else else
tail -n9999 -f "$LOGDIR/$1/sms.txt" less +F "$LOGDIR/$1/sms.txt"
fi fi
} }