File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -913,6 +913,9 @@ The foreground color of the notification. See COLORS for possible values.
913
913
The highlight color of the notification. This color is used for coloring the
914
914
progress bar. See COLORS for possible values.
915
915
916
+ You can also set additional color values (as a comma-separated list)
917
+ to define a linear gradient spanning all the length of the progress bar.
918
+
916
919
=item C<format>
917
920
918
921
Equivalent to the C<format> setting.
Original file line number Diff line number Diff line change @@ -782,6 +782,9 @@ TEST test_string_to_gradient(void)
782
782
783
783
for (int k = 0 ; k < grad -> length ; k ++ )
784
784
ASSERTm (buf , COLOR_SAME (grad -> colors [k ], results [i ]-> colors [k ]));
785
+
786
+ gradient_free (grad );
787
+ grad = NULL ;
785
788
}
786
789
787
790
for (int i = 0 ; i < G_N_ELEMENTS (results ); i ++ )
You can’t perform that action at this time.
0 commit comments