mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
remove NEWS claim that notcurses_check_pixel_support() is going away #1766
This commit is contained in:
parent
85cfca8df8
commit
80b7391d96
7
NEWS.md
7
NEWS.md
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user