Show one line in previewing text message to edit
This commit is contained in:
parent
93de0d4d84
commit
bbdf195090
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ sendtextmenu() {
|
|||
while true
|
||||
do
|
||||
CONFIRM="$(
|
||||
printf %b "Edit Message ($TEXT)\nSend to → $NUMBER\nCancel" |
|
||||
printf %b "Edit Message ($(echo "$TEXT" | head -n1))\nSend to → $NUMBER\nCancel" |
|
||||
menu dmenu -c -idx 1 -p "Confirm" -fn "Terminus-20" -l 10
|
||||
)"
|
||||
echo "$CONFIRM" | grep -E "^Send" && sendmsg "$NUMBER" "$TEXT" && exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue