mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
disable alacritty sixel until ayosec/graphics is merged #1430
This commit is contained in:
parent
084d5d6673
commit
e301ef34ae
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user