don't skip clearing custom header on editor failure

This commit is contained in:
Leonora Tindall 2026-08-19 11:01:56 -05:00
parent a0b3740100
commit 7f8fbbf55b
1 changed files with 1 additions and 1 deletions

2
nnote
View File

@ -44,7 +44,7 @@ else
fi
pushd "$NOTESDIR" > /dev/null
printf "\033]2;$NOTENAME $NOTETYPE note\a"
$EDITOR "$NOTEPATH"
$EDITOR "$NOTEPATH" || true # || true so we always clear header and popd
printf "\033]2;\a"
popd > /dev/null
fi