From fcd8428b729eb4047f467384b5f9be93ce1419a0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 24 Sep 2021 17:43:53 +0200 Subject: 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. --- mcom | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mcom') diff --git a/mcom b/mcom index 4c1027f..f1657ad 100755 --- a/mcom +++ b/mcom @@ -478,6 +478,9 @@ while :; do *mbnc*) mflag -P -- "$1" ;; *mfwd*) mflag -P -- "$@" ;; esac + case "$0" in + *mrep*|*mbnc*|*mfwd*) mseq -f | mseq -S ;; + esac exit 0 ;; -- cgit 1.4.1