Commit 6852adb8 authored by Joe Holden's avatar Joe Holden

string formatting

parent 469def2f
......@@ -119,8 +119,8 @@ function draw($json, $old, $climate, $duration, $refresh) {
else
$outcount = 0;
$climate->white()->inline($series . ': ');
$climate->lightBlue()->inline(sprintf("%s @ %s\n", $json->run_name, trim($json->track_name)));
$climate->white()->inline(sprintf("%s: ", $series));
$climate->lightBlue()->display(sprintf("%s @ %s", $json->run_name, trim($json->track_name)));
$climate->white()->inline("Track length: ");
$climate->lightGray()->inline($json->track_length . ' m');
$climate->white()->inline(", race length: ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment