libavutil/libswscale versions in intro

pull/63/head
nick black 5 years ago committed by Nick Black
parent 94ee128ef4
commit 9a41257669

@ -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

@ -10,6 +10,8 @@
#include <signal.h>
#include <stdatomic.h>
#include <sys/ioctl.h>
#include <libavutil/version.h>
#include <libswscale/version.h>
#include <libavformat/version.h>
#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");

Loading…
Cancel
Save