@ziamana/bruine 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/plugins/repl.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
[](LICENSE)
|
|
13
13
|
[](https://nodejs.org)
|
|
14
14
|
 
|
|
15
|
-
[](CHANGELOG.md)
|
|
16
16
|
|
|
17
17
|
<a href="docs/media/bruine-film.mp4"><img src="docs/media/hero.webp" alt="The bruine film: the word bruine becomes the logo in the rain, then the effort climbs from low to max and the rain turns into a storm" width="100%"></a>
|
|
18
18
|
|
package/dist/plugins/repl.js
CHANGED
|
@@ -948,6 +948,7 @@ function imageProtocolFor(env = process.env) {
|
|
|
948
948
|
const asked = env.BRUINE_IMAGES?.trim().toLowerCase();
|
|
949
949
|
if (asked === "kitty" || asked === "iterm2") return asked;
|
|
950
950
|
if (asked === "blocks" || asked === "off" || asked === "none" || asked === "0") return null;
|
|
951
|
+
if (env.HERDR_ENV !== void 0 || env.HERDR_PANE_ID !== void 0) return null;
|
|
951
952
|
if (env.TMUX !== void 0 || (env.TERM ?? "").startsWith("tmux") || (env.TERM ?? "").startsWith("screen")) return void 0;
|
|
952
953
|
const konsole = Number.parseInt(env.KONSOLE_VERSION ?? "", 10);
|
|
953
954
|
if (Number.isFinite(konsole) && konsole >= 220400) return "iterm2";
|