diff --git a/doc/man/man1/ncplayer.1.md b/doc/man/man1/ncplayer.1.md index 58e12a239..529c60a8f 100644 --- a/doc/man/man1/ncplayer.1.md +++ b/doc/man/man1/ncplayer.1.md @@ -68,6 +68,9 @@ to resume. # NOTES +If you're looking for a fast, inline image viewer for the shell, try using +**ncplayer -k -t0 -q**. + Optimal display requires a terminal advertising the **rgb** terminfo(5) capability, or that the environment variable **COLORTERM** is defined to **24bit** (and that the terminal honors this variable), along with a diff --git a/src/player/play.cpp b/src/player/play.cpp index 44980fb18..2bf963c32 100644 --- a/src/player/play.cpp +++ b/src/player/play.cpp @@ -273,6 +273,9 @@ auto main(int argc, char** argv) -> int { auto nonopt = handle_opts(argc, argv, ncopts, &quiet, ×cale, &scalemode, &blitter, &displaytime, &loop); ncopts.flags |= NCOPTION_INHIBIT_SETLOCALE; + if(quiet){ + ncopts.flags |= NCOPTION_SUPPRESS_BANNERS; + } NotCurses nc{ncopts}; if(!nc.can_open_images()){ nc.stop();