From 2620d8ded612455a5616a969f64a4a6c47ec9ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?joseLu=C3=ADs?= Date: Thu, 11 Nov 2021 19:11:55 +0100 Subject: [PATCH] [docs] update outdated info & fix typo --- include/notcurses/nckeys.h | 2 +- include/notcurses/notcurses.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/notcurses/nckeys.h b/include/notcurses/nckeys.h index 8ed2570ad..f1fe7c10b 100644 --- a/include/notcurses/nckeys.h +++ b/include/notcurses/nckeys.h @@ -11,7 +11,7 @@ extern "C" { // Rather than using one of the Private Use Areas of Unicode, we use the area // beyond the 17 65536-entry Planes (1114112). We round up to 5000 so that it's -// trivial to idenfity synthesized characters based on their numeric definition +// trivial to identify synthesized characters based on their numeric definition // here. This is safe, since we needn't convert these synthesized characters // into UTF8 (they would otherwise require more than four bytes). #define PRETERUNICODEBASE 1115000 diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index 10eca3505..3feeb7149 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -1054,8 +1054,8 @@ API void notcurses_drop_planes(struct notcurses* nc) // Unicode codepoint, *not* an entire Extended Grapheme Cluster. It is also // possible that we will read a special keypress, i.e. anything that doesn't // correspond to a Unicode codepoint (e.g. arrow keys, function keys, screen -// resize events, etc.). These are mapped into Unicode's Supplementary -// Private Use Area-B, starting at U+100000. See . +// resize events, etc.). These are mapped into a Unicode's area beyond the +// 17 65536-entry Planes, starting at U+1115000. See . // // notcurses_get_nblock() is nonblocking. notcurses_get_blocking() blocks // until a codepoint or special key is read, or until interrupted by a signal.