diff --git a/README.md b/README.md index 61bc1b93..877b02ba 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ If you want to use your own config, copy the [config folder](./config/preset) to | iTerm2 | [Inline images protocol](https://iterm2.com/documentation-images.html) | ✅ Built-in | | Hyper | [Sixel graphics format](https://www.vt100.net/docs/vt3xx-gp/chapter14.html) | ✅ Built-in | | foot | [Sixel graphics format](https://www.vt100.net/docs/vt3xx-gp/chapter14.html) | ✅ Built-in | +| Black Box | [Sixel graphics format](https://www.vt100.net/docs/vt3xx-gp/chapter14.html) | ✅ Built-in | | X11 / Wayland | Window system protocol | ☑️ Überzug++ required | | Fallback | [Chafa](https://hpjansson.org/chafa/) | ☑️ Überzug++ required | diff --git a/config/src/preview/adaptor.rs b/config/src/preview/adaptor.rs index c605613a..bfdc521e 100644 --- a/config/src/preview/adaptor.rs +++ b/config/src/preview/adaptor.rs @@ -28,6 +28,7 @@ impl Default for PreviewAdaptor { match env::var("TERM_PROGRAM").unwrap_or_default().as_str() { "iTerm.app" => return Self::Iterm2, "WezTerm" => return cfg!(windows).then_some(Self::Iterm2).unwrap_or(Self::Kitty), + "BlackBox" => return Self::Sixel, "vscode" => return Self::Sixel, "Hyper" => return Self::Sixel, _ => {}