]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: use <hr> to delineate in /$MID/T/ view
authorEric Wong <e@80x24.org>
Fri, 5 Aug 2016 18:10:50 +0000 (18:10 +0000)
committerEric Wong <e@80x24.org>
Fri, 5 Aug 2016 18:12:03 +0000 (18:12 +0000)
The sacrifice in vertical space might be worth it to improve
ease-of-reading, as it's unreasonable to expect an entire
message thread to be able to fit into a single window.

https://public-inbox.org/git/20160805093544.scvl4yshkfg2l26p@sigill.intra.peff.net/

Cc: Jeff King <peff@peff.net>
lib/PublicInbox/View.pm

index db0cdc0ee14ef29033c5747dd43669496d4fcb62..e150a015de821058e2e34dc6eddb3664b8725cfc 100644 (file)
@@ -180,7 +180,7 @@ sub index_entry {
                $rv .= " <a\nhref=#r$id>$ctx->{s_nr}</a>";
        }
 
-       $rv .= $more ? "\n\n" : "\n";
+       $rv .= $more ? '</pre><hr><pre>' : '</pre>';
 }
 
 sub pad_link ($$;$) {