From 9a41257669dcc4b491bb52376cddbd3e02f51a37 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 27 Nov 2019 18:29:03 -0500 Subject: [PATCH] libavutil/libswscale versions in intro --- include/notcurses.h | 2 +- src/lib/notcurses.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/notcurses.h b/include/notcurses.h index 079011555..de5837aef 100644 --- a/include/notcurses.h +++ b/include/notcurses.h @@ -40,7 +40,7 @@ struct notcurses; // notcurses state for a given terminal, composed of ncplanes // other things, like cuneiform. Fucccccck. True display width is a *property // of the font*. Fuccccccccckkkkk. Among the longest Unicode codepoints is // -// U+FDFD ARABIC LIGATURE BISMILLAH ﷽ +// U+FDFD ARABIC LIGATURE BISMILLAH AR-RAHMAN AR-RAHEEM ﷽ // // wcwidth() rather optimistically claims this suicide bomber of a glyph to // occupy a single column, right before it explodes in your diner. BiDi text diff --git a/src/lib/notcurses.c b/src/lib/notcurses.c index 3d288feca..50063d796 100644 --- a/src/lib/notcurses.c +++ b/src/lib/notcurses.c @@ -10,6 +10,8 @@ #include #include #include +#include +#include #include #include "notcurses.h" #include "timespec.h" @@ -468,9 +470,13 @@ notcurses* notcurses_init(const notcurses_options* opts){ " notcurses %s by nick black\n" " terminfo from %s\n" " avformat %u.%u.%u\n" + " avutil %u.%u.%u\n" + " swscale %u.%u.%u\n" " %d rows, %d columns (%zub), %d colors (%s)\n", notcurses_version(), curses_version(), LIBAVFORMAT_VERSION_MAJOR, LIBAVFORMAT_VERSION_MINOR, LIBAVFORMAT_VERSION_MICRO, + LIBAVUTIL_VERSION_MAJOR, LIBAVUTIL_VERSION_MINOR, LIBAVUTIL_VERSION_MICRO, + LIBSWSCALE_VERSION_MAJOR, LIBSWSCALE_VERSION_MINOR, LIBSWSCALE_VERSION_MICRO, ret->top->leny, ret->top->lenx, ret->top->lenx * ret->top->leny * sizeof(*ret->top->fb), ret->colors, ret->RGBflag ? "direct" : "palette");