浏览代码

restore default text color on 'Ctrl-C' exit

The terminal text color  wasn't reset when the user  aborted the wizard
while being prompted for input.
This resolves https://github.com/LukeSmithxyz/mutt-wizard/issues/224
tags/v3.1
Kr1ss 5 年前
父节点
当前提交
e4813ae215
找不到此签名对应的密钥 GPG 密钥 ID: 23F078862ACFE50
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      bin/mw

+ 2
- 0
bin/mw 查看文件

@@ -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 ;;


正在加载...
取消
保存