notcurses-info: hold off on displaying logo

This commit is contained in:
nick black 2021-06-30 18:50:53 -04:00
parent 89fee267b7
commit a1d011fdc2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 7 additions and 5 deletions

View File

@ -77,10 +77,10 @@ unicodedumper(struct ncplane* n, tinfo* ti, const char* indent){
uint32_t lr = CHANNEL_RGB_INITIALIZER(0x80, 0x80, 0x80);
ncplane_stain(n, y - 1, 66, ul, lr, ul, lr);
// the braille
ncplane_cursor_move_yx(n, y - 6, 2);
ncplane_cursor_move_yx(n, y - 6, 1);
ul = CHANNEL_RGB_INITIALIZER(0x7f, 0x25, 0x24);
lr = CHANNEL_RGB_INITIALIZER(0x24, 0x25, 0x7f);
ncplane_stain(n, y - 3, 65, ul, lr, ul, lr);
ncplane_stain(n, y - 3, 66, ul, lr, ul, lr);
// the sextants
ncplane_cursor_move_yx(n, y - 10, 28);
lr = CHANNEL_RGB_INITIALIZER(0x7B, 0x68, 0xEE);
@ -101,7 +101,7 @@ unicodedumper(struct ncplane* n, tinfo* ti, const char* indent){
return 0;
}
static int
int
display_logo(const tinfo* ti, struct ncplane* n, const char* path){
struct ncvisual* ncv = ncvisual_from_file(path);
if(ncv == NULL){
@ -150,7 +150,8 @@ tinfo_debug_bitmaps(struct ncplane* n, const tinfo* ti, const char* indent){
}
char* path = prefix_data("notcurses.png");
if(path){
display_logo(ti, n, path);
// FIXME hold off until #1649 is resolved
//display_logo(ti, n, path);
free(path);
}
}

View File

@ -808,7 +808,8 @@ stash_string(query_state* inits){
inits->bg = (r << 16u) | (g << 8u) | b;
break;
}default:
fprintf(stderr, "invalid string stashed %d\n", inits->stringstate);
// don't generally enable this -- XTerm terminates TDA with ST
//fprintf(stderr, "invalid string [%s] stashed %d\n", inits->runstring, inits->stringstate);
break;
}
inits->runstring[0] = '\0';