aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-09-24 17:43:53 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-09-24 17:43:53 +0200
commitfcd8428b729eb4047f467384b5f9be93ce1419a0 (patch)
treeada6805b3761b318377ff97a64a3afd9d81070df
parent41bd429452f45cb43110ec4699871a2cbd9c0a5e (diff)
downloadmblaze-fcd8428b729eb4047f467384b5f9be93ce1419a0.tar.gz
mblaze-fcd8428b729eb4047f467384b5f9be93ce1419a0.tar.xz
mblaze-fcd8428b729eb4047f467384b5f9be93ce1419a0.zip
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.
-rwxr-xr-xmcom3
1 files changed, 3 insertions, 0 deletions
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
;;