notcurses-info: update man page with more text

This commit is contained in:
nick black 2021-08-01 22:27:52 -04:00 committed by nick black
parent 7c09695af4
commit 89125802c6
2 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,7 @@ notcurses-info - Display information about the terminal environment
# SYNOPSIS
**notcurses-info**
**notcurses-info** [**-v**]
# DESCRIPTION
@ -56,8 +56,16 @@ The next five lines describe properties of the terminal environment:
* fgop: Foreground can be reset via a single escape
* bgop: Background can be reset via a single escape
The final eleven lines, only printed when in a UTF8 locale, show various
Unicode glyphs. The first four lines include the quadrant, sextant, and
box-drawing characters. The next four lines include the entire Braille set.
The following two lines include many of the Symbols for Legacy Computing
introduced in Unicode 13. The final line includes many emoji.
# OPTIONS
**-v**: Be verbose.
# NOTES
The behavior of **notcurses-info** (and indeed all of Notcurses) depends on

View File

@ -100,7 +100,7 @@ finish_line(struct ncplane* n){
static int
emoji_viz(struct ncplane* n){
static const char emoji[] = "👾🏴🤘🚬🌍🌎🌏🥆💣🗡🔫⚗️⚛️☢️☣️🌿🎱🏧💉💊📡🦑🇮🇱🇦🇶🚱🪤🧬🔬";
static const char emoji[] = "👾🏴🤘🚬🌍🌎🌏🥆💣🗡🔫⚗️⚛️☢️☣️🌿🎱🏧💉💊📡🦑🇮🇱🇦🇶🚱🪤🧬🔬🏴‍☠️";
ncplane_set_bg_rgb(n, 0);
int bytes;
for(const char* e = emoji ; *e ; e += bytes){