From 795859dd991bf96637a5cdf3e46714e618c43881 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 27 May 2019 22:54:43 +0200 Subject: [PATCH] browser: distinguish supported features with annotations Assume notes indicate minor problems worthy of an less-than-perfect mark (level 4 (instead) of 5, visually close but distinguishable at a glance). In some cases the note describes improvements and such, but these are less frequent, cannot be detected, and still benefit from different styling. --- browser.plp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/browser.plp b/browser.plp index a3fa063..80369d9 100644 --- a/browser.plp +++ b/browser.plp @@ -36,11 +36,14 @@ my %CSTATS = ( 'p d' => 'l2', 'a d' => 'l2', 'y' => 'l5', + 'y #' => 'l4', 'y x' => 'l5 ex', + 'y x #' => 'l4 ex', 'a' => 'l3', 'a x' => 'l3 ex', 'p' => 'l2', 'u' => 'l0', + 'u d' => 'l2', ); my %DSTATS = ( u => 'unknown', @@ -416,6 +419,7 @@ sub saybrowsercols { )); $title .= "\n$_" for notestotitle(@notes); + $prev .= ' #' if @notes and $prev =~ /^y/; printf('%s', join(' ', X => $CSTATS{$prev}, @@ -477,6 +481,7 @@ sub showversions {
supported + annotated partial optional missing -- 2.30.0