From c804148084e867d5bd7b9a45574b02cd3e306861 Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 12 Jul 2021 22:01:18 -0400 Subject: [PATCH] Mention @michaelsbradleyjr in HISTORY.md --- doc/HISTORY.md | 5 ++++- src/demo/hud.c | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/HISTORY.md b/doc/HISTORY.md index feb78ef5a..4546ef210 100644 --- a/doc/HISTORY.md +++ b/doc/HISTORY.md @@ -1,5 +1,6 @@ # History +* 2021-07-12: OS X support is added during the 2.3.10 development period, with lots of help from Michael Bradley Jr. (@michaelsbradleyjr). * 2021-05-09: Notcurses [2.3.0 "triumph"](https://github.com/dankamongmen/notcurses/releases/tag/v2.3.0). * 2021-02-08: Notcurses [2.2.0 "no one man should have all that power"](https://github.com/dankamongmen/notcurses/releases/tag/v2.2.0). * 2021-02-06: [Lightning talk](https://www.youtube.com/watch?v=fq963c6Fl5E) at [FOSDEM 2021](https://fosdem.org/2021/schedule/event/notcurses/). @@ -58,6 +59,9 @@ engineering history. He exemplifies documentation excellence and conservative, thoughtful stewardship. The free software community owes Mr. Dickey a great debt. +* Michael Bradley Jr. one day showed up and *bought a Mac Mini*, and set it up + for my remote use, and didn't even accept my offer to pay, and how fucking + awesome is that? ❤ * Robert Edmonds provided tremendous assistance Debianizing the package, and David Cantrell did likewise for Fedora. Both are hella engineers. * Justine Tunney, one of my first friends at Google NYC, was always present @@ -76,4 +80,3 @@ l33t scene of the 90s and early twenty-first century endlessly inspired a young hax0r. There is great joy in computing; no one will drive us from this paradise Turing has created! - diff --git a/src/demo/hud.c b/src/demo/hud.c index c87de2634..1338ad725 100644 --- a/src/demo/hud.c +++ b/src/demo/hud.c @@ -1,5 +1,6 @@ #include "demo.h" #include +#include // we provide a heads-up display throughout the demo, detailing the demos we're // about to run, running, and just runned. the user can move this HUD with @@ -392,7 +393,8 @@ hud_print_finished(elem* list){ if(ncplane_printf_yx(hud, line, 1, "%d", e->frames) < 0){ return -1; } - if(ncplane_printf_yx(hud, line, 7, "%ju.%03jus", e->totalns / NANOSECS_IN_SEC, + if(ncplane_printf_yx(hud, line, 7, "%"PRIu64".%03"PRIu64"jus", + e->totalns / NANOSECS_IN_SEC, (e->totalns % NANOSECS_IN_SEC) / 1000000) < 0){ return -1; }