newt: do not print first message twice when stepping through messages

This commit is contained in:
stanley lieber 2014-10-29 22:49:08 -04:00
parent 392ca817ba
commit e02e4045f2

View file

@ -131,6 +131,7 @@ fn p{
cat /tmp/p cat /tmp/p
} }
echo echo
go=1
r=$1 r=$1
post=$1 post=$1
prompt=$group/$1 prompt=$group/$1
@ -139,6 +140,7 @@ fn P{
if(test $1 -le $#rposts && test -f $mnt/$group/$rposts($1)^/article) if(test $1 -le $#rposts && test -f $mnt/$group/$rposts($1)^/article)
cat $rposts($1)^/article cat $rposts($1)^/article
echo echo
go=1
r=$1 r=$1
post=$1 post=$1
prompt=$group/$1 prompt=$group/$1
@ -292,6 +294,7 @@ while(){
echo mnt: $mnt echo mnt: $mnt
echo group: $group echo group: $group
echo maxposts: $maxposts echo maxposts: $maxposts
echo '#go': $#go
echo rposts: $rposts echo rposts: $rposts
echo 'rposts(r):' $rposts($r) echo 'rposts(r):' $rposts($r)
echo posts: $posts echo posts: $posts