disable alacritty sixel until ayosec/graphics is merged #1430

This commit is contained in:
nick black 2021-04-12 03:25:49 -04:00
parent 084d5d6673
commit e301ef34ae
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 5 additions and 7 deletions

View File

@ -209,8 +209,6 @@ to breaking under incorrect `TERM` values. If you're not using `xterm`, your
* **Q:** Can I have Notcurses without this huge multimedia stack? **A:** Yes! Build with `-DUSE_MULTIMEDIA=none`.
* **Q:** In `xterm`, Alt doesn't work as expected. **A:** Check out the `eightBitInput` resource of `xterm`. Add `XTerm*eightBitInput: false` to your `$HOME/.Xresources`, and run e.g. `xrdb -all -merge $HOME/.Xresources`.
* **Q:** Notcurses looks like absolute crap in `screen`. **A:** `screen` doesn't support RGB colors (at least as of 4.08.00); if you have `COLORTERM` defined, you'll have a bad time. If you have a `screen` that was compiled with `--enable-colors256`, try exporting `TERM=screen-256color` as opposed to `TERM=screen`.
* **Q:** Notcurses looks like absolute crap in `mosh`. **A**: Yeah it sure does. I'm not yet sure what's up.

View File

@ -341,7 +341,6 @@ setup_sixel(tinfo* ti){
// query for Sixel support
static int
query_sixel(tinfo* ti, int fd){
bool query = false;
if(writen(fd, "\x1b[c", 3) != 3){
return -1;
}
@ -378,7 +377,6 @@ query_sixel(tinfo* ti, int fd){
if(in == ';'){
if(in4){
setup_sixel(ti);
query = true;
}
state = WANT_C4;
}else if(in == 'c'){
@ -390,9 +388,11 @@ query_sixel(tinfo* ti, int fd){
break;
case WANT_VT102_C:
if(in == 'c'){
if(ti->alacritty_sixel_hack){
// until graphics/ayosec is merged, alacritty doesn't actually
// have sixel support. enable this then. FIXME
/*if(ti->alacritty_sixel_hack){
setup_sixel(ti);
}
}*/
state = DONE;
}else if(in == ';'){
state = WANT_C4;
@ -413,7 +413,7 @@ query_sixel(tinfo* ti, int fd){
break;
}
}
if(query){
if(ti->bitmap_supported){
query_sixel_details(ti, fd);
}
return 0;