Add a dsubmenu to reply/call on SMS windows

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 14:40:54 +01:00 committed by Maarten van Gompel
parent 18009c8378
commit 568eac7dd3
4 changed files with 34 additions and 17 deletions

View file

@ -108,7 +108,7 @@ senddrafttextmenu() {
tailtextlog() {
if [ "$TERMMODE" != "true" ]; then
st -e less +F "$LOGDIR/$1/sms.txt"
st -T "$1 SMS" -e less +F "$LOGDIR/$1/sms.txt"
else
less +F "$LOGDIR/$1/sms.txt"
fi
@ -131,4 +131,8 @@ main() {
tailtextlog "$(echo "$CONTACTIDANDNUM" | cut -d: -f1)"
}
main
if [ -n "$1" ]; then
sendnewtextmenu "$1"
else
main
fi