diff options
author | Luke Smith <luke@lukesmith.xyz> | 2019-05-27 19:26:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-27 19:26:32 -0400 |
commit | 695ca159404bbb03b91fd9b0949956835c2d272e (patch) | |
tree | b499758640e4a6ee962ca8aebe3c84c5a1e60013 | |
parent | 9cc29554241af944606d9c236c85f0ce4a73c962 (diff) | |
parent | e4813ae21568132e2dd04f0d69e87c4dfd98c3c6 (diff) |
Merge pull request #224 from Kr1ss-XD/clean-abort
restore default text color on 'Ctrl-C' exit
-rwxr-xr-x | bin/mw | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ;; |