diff --git a/USAGE.md b/USAGE.md index 550ee5880..d1b5422bc 100644 --- a/USAGE.md +++ b/USAGE.md @@ -720,7 +720,7 @@ In addition to its framebuffer--a rectilinear matrix of `nccell`s * a name (used only for debugging). If opaque, a `nccell` on a higher `ncplane` completely obstructs a corresponding -`cell` from a lower `ncplane` from being seen. An `ncplane` corresponds loosely +`nccell` from a lower `ncplane` from being seen. An `ncplane` corresponds loosely to an [NCURSES Panel](https://invisible-island.net/ncurses/ncurses-intro.html#panels), but is the primary drawing surface of notcurses—there is no object corresponding to a bare NCURSES `WINDOW`. diff --git a/doc/CURSES.md b/doc/CURSES.md index 7edbc02e0..b24256f7b 100644 --- a/doc/CURSES.md +++ b/doc/CURSES.md @@ -16,7 +16,7 @@ might surprise NCURSES programmers: * Scrolling is disabled by default, and cannot be globally enabled (but see Direct Mode). * The Curses `cchar_t` has a fixed-size array of `wchar_t`. The Notcurses - `cell` instead supports a UTF-8 encoded extended grapheme cluster of + `nccell` instead supports a UTF-8 encoded extended grapheme cluster of arbitrary length. The only supported encodings are ASCII via `ANSI_X3.4-1968` and Unicode via `UTF-8`. * The cursor is disabled by default, when supported (`civis` capability). @@ -58,7 +58,7 @@ making implicit use of `stdscr` ought be replaced with their explicit equivalents. `stdscr` ought then be replaced with the result of `notcurses_stdplane()` (the standard plane). `PANEL`s become `ncplane`s; the Panels API is otherwise pretty close. Anything writing a bare character will -become a simple `cell`; multibyte or wide characters become complex `cell`s. +become a simple `nccell`; multibyte or wide characters become complex `nccell`s. Color no longer uses "color pairs". You can easily enough hack together a simple table mapping your colors to RGB values, and color pairs to foreground and background indices into said table. That'll work for the duration of a