mrep/mbnc/mfwd: fix sequence after changing flags of (likely) cur

Else tools like mless lose track of cur and jump around after these
actions.

Closes #214.
This commit is contained in:
Leah Neukirchen 2021-09-24 17:43:53 +02:00
parent 41bd429452
commit fcd8428b72

3
mcom
View File

@ -478,6 +478,9 @@ while :; do
*mbnc*) mflag -P -- "$1" ;; *mbnc*) mflag -P -- "$1" ;;
*mfwd*) mflag -P -- "$@" ;; *mfwd*) mflag -P -- "$@" ;;
esac esac
case "$0" in
*mrep*|*mbnc*|*mfwd*) mseq -f | mseq -S ;;
esac
exit 0 exit 0
;; ;;