remove NEWS claim that notcurses_check_pixel_support() is going away #1766

This commit is contained in:
nick black 2021-06-15 11:52:10 -04:00
parent 85cfca8df8
commit 80b7391d96
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 4 additions and 4 deletions

View File

@ -7,10 +7,9 @@ rearrangements of Notcurses.
parameters are now opportunistically read at startup, and thus there is
no longer any need to call `notcurses_check_pixel_support()` before
using `NCBLIT_PIXEL`. If it's there, it'll be used; if not, it'll degrade
or fail. Indeed, this function will likely be removed for ABI3. The new
routines rely on the terminal answering the Send Device Attributes escape;
if it does not, Notcurses may refuse to start, or even hang. Please report
a bug if you run into this.
or fail. The new routines rely on the terminal answering the Send Device
Attributes escape; if it does not, Notcurses may refuse to start, or even
hang. Please report a bug if you run into this.
It is still necessary to supply a correct `TERM` environment variable,
because this is used to index into the `terminfo(5)` database, which

View File

@ -129,6 +129,7 @@ apply_term_heuristics(tinfo* ti, const char* termname, int fd,
}else if(qterm == TERMINAL_WEZTERM){
termname = "WezTerm";
ti->quadrants = true;
// FIXME get version from query
const char* termver = getenv("TERM_PROGRAM_VERSION");
if(termver && strcmp(termver, "20210610") >= 0){
ti->sextants = true; // good sextants as of 2021-06-10