mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
kitty 0.22.0 introduces self-referential composition, not 0.21.3
This commit is contained in:
parent
81879194d2
commit
24ccb66a20
@ -213,12 +213,12 @@ typedef enum {
|
||||
// time as animation. prior to this, graphics had to be entirely redrawn
|
||||
// on any change, and it wasn't possible to use the bottom line.
|
||||
KITTY_ALWAYS_SCROLLS,
|
||||
// until 0.21.3's introduction of 't=z' for self-reference, we had to
|
||||
// keep a complete copy of the RGBA data, in case a wiped cell needed to
|
||||
// be rebuilt. we'd otherwise have to unpack the glyph and store it into
|
||||
// until 0.22.0's introduction of 'a=c' for self-referential composition, we
|
||||
// had to keep a complete copy of the RGBA data, in case a wiped cell needed
|
||||
// to be rebuilt. we'd otherwise have to unpack the glyph and store it into
|
||||
// the auxvec on the fly.
|
||||
KITTY_ANIMATION,
|
||||
// with 0.21.3, we only ever write transparent cells after writing the
|
||||
// with 0.22.0, we only ever write transparent cells after writing the
|
||||
// original image (which we now deflate, since we needn't unpack it later).
|
||||
// the only data we need keep is the auxvecs.
|
||||
KITTY_SELFREF,
|
||||
|
@ -508,7 +508,7 @@ apply_term_heuristics(tinfo* ti, const char* termname, int fd,
|
||||
if(add_smulx_escapes(ti, tablelen, tableused)){
|
||||
return -1;
|
||||
}
|
||||
if(compare_versions(ti->termversion, "0.21.3") >= 0){
|
||||
if(compare_versions(ti->termversion, "0.22.0") >= 0){
|
||||
setup_kitty_bitmaps(ti, fd, KITTY_SELFREF);
|
||||
}else if(compare_versions(ti->termversion, "0.20.0") >= 0){
|
||||
setup_kitty_bitmaps(ti, fd, KITTY_ANIMATION);
|
||||
|
Loading…
x
Reference in New Issue
Block a user