[kitty] pass C=1 to inhibit cursor moves/scrolling from graphics #1733

This commit is contained in:
nick black 2021-06-08 02:02:09 -04:00 committed by Nick Black
parent a6433caeaa
commit df29cbaf1e
2 changed files with 5 additions and 3 deletions

View File

@ -2,8 +2,10 @@ This document attempts to list user-visible changes and any major internal
rearrangements of Notcurses.
* 2.3.3 (not yet released)
* `ncvisual_blit()` without a multimedia engine will now properly scale
the output according to the provided `ncvisual_options`.
* Added the flag `NCVISUAL_OPTION_NOINTERPOLATE` to use non-interpolative
scaling in `ncvisual_render()`. `ncvisual_render()` without a multimedia
engine will now use this method for any requested scaling (previously,
scaling was not performed without a linked multimedia backend).
* 2.3.2 (2021-06-03)
* Fixed a bug affecting certain scalings of `ncvisual` objects created from

View File

@ -439,7 +439,7 @@ write_kitty_data(FILE* fp, int linesize, int leny, int lenx,
//fprintf(stderr, "total: %d chunks = %d, s=%d,v=%d\n", total, chunks, lenx, leny);
while(chunks--){
if(totalout == 0){
*parse_start = fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,a=T,%c=1;",
*parse_start = fprintf(fp, "\e_Gf=32,s=%d,v=%d,i=%d,a=T,%C=1;",
lenx, leny, sprixelid, chunks ? 'm' : 'q');
}else{
fprintf(fp, "\e_G%sm=%d;", chunks ? "" : "q=2,", chunks ? 1 : 0);