Ver código fonte

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 anos atrás
pai
commit
e4813ae215
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 23F078862ACFE50
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      bin/mw

+ 2
- 0
bin/mw Ver arquivo

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


Carregando…
Cancelar
Salvar