Merge pull request #224 from Kr1ss-XD/clean-abort

restore default text color on 'Ctrl-C' exit
This commit is contained in:
Luke Smith 2019-05-27 19:26:32 -04:00 committed by GitHub
commit 695ca15940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
bin/mw
View File

@ -313,6 +313,8 @@ synchronize_flags=true
gpg_path=$GPG"
echo "$nmbasic" > "$NOTMUCH_CONFIG" ;}
trap 'echo -e "\033[0m\n"' INT
case "$1" in
ls) list ;;
add) asktype && askinfo && tryconnect && finalize || delete ;;