about summary refs log tree commit diff
path: root/mless
diff options
context:
space:
mode:
Diffstat (limited to 'mless')
-rwxr-xr-xmless2
1 files changed, 1 insertions, 1 deletions
diff --git a/mless b/mless
index 1b0a014..16e82d1 100755
--- a/mless
+++ b/mless
@@ -81,7 +81,7 @@ while :; do
 		nu=$(magrep -v -m1 :S .:) && mseq -C "$nu"
 		;;
 	107) # k next thread
-		mseq -C "$(mseq .+1: | grep -m1 '^[^ <]')"
+		mseq -C "$(mseq .+1: | sed -n '/^[^ <]/{p;q;}')"
 		;;
 	100) # d mark read
 		mflag -S .