Do not display text only numbers as options when dialing or composing new texts
Signed-off-by: Anjandev Momi <anjan@momi.ca> Signed-off-by: Reed Wade <reedwade@misterbanal.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
f149b7e250
commit
236ab9a343
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ modem_n() {
|
||||||
}
|
}
|
||||||
|
|
||||||
dialmenu() {
|
dialmenu() {
|
||||||
CONTACTS="$(sxmo_contacts.sh)"
|
CONTACTS="$(sxmo_contacts.sh | grep -E "^\+?[0-9]+:")"
|
||||||
NUMBER="$(
|
NUMBER="$(
|
||||||
printf %b "Close Menu\nMore contacts\n$CONTACTS" |
|
printf %b "Close Menu\nMore contacts\n$CONTACTS" |
|
||||||
grep . |
|
grep . |
|
||||||
|
|
|
@ -38,7 +38,7 @@ choosenumbermenu() {
|
||||||
|
|
||||||
# Prompt for number
|
# Prompt for number
|
||||||
NUMBER="$(
|
NUMBER="$(
|
||||||
printf %b "\nCancel\nMore contacts\n$(sxmo_contacts.sh)" |
|
printf %b "\nCancel\nMore contacts\n$(sxmo_contacts.sh | grep -E "^\+?[0-9]+:")" |
|
||||||
awk NF |
|
awk NF |
|
||||||
menu sxmo_dmenu_with_kb.sh -p "Number" -fn "Terminus-20" -l 10 -c -i |
|
menu sxmo_dmenu_with_kb.sh -p "Number" -fn "Terminus-20" -l 10 -c -i |
|
||||||
cut -d: -f1 |
|
cut -d: -f1 |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue