termpix 0.3.0 → 0.3.1
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.
- checksums.yaml +4 -4
- data/lib/termpix/version.rb +1 -1
- data/lib/termpix.rb +5 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f02b355cf61a8cfd00292a79423a428d071cbc333674c1e2324901f62bd10a38
|
|
4
|
+
data.tar.gz: d55c9be1b6e0e2de2b0d093ec25cfc4bb462f165197db5cbae20039eee4d7d53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d4d33f281c9fb9346f978dc764c3ce66f9c42b6be11c5a1cc1869f1054798ac8a3230a76450f0be66c063efda2284ad28dcfb0e9c5f34155a07a2bcfb79a19a
|
|
7
|
+
data.tar.gz: e155d39ed7003b6c5c405a5f703d526d54c6732add1494e0a0f4eae1390660c591f257e0e44114da1aa9c3801d63979b8405a56047a7194bdafca5d9fb86130c
|
data/lib/termpix/version.rb
CHANGED
data/lib/termpix.rb
CHANGED
|
@@ -84,6 +84,11 @@ module Termpix
|
|
|
84
84
|
return :kitty if check_dependency('convert')
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
+
# Check for WezTerm - supports Kitty graphics protocol
|
|
88
|
+
if ENV['TERM_PROGRAM'] == 'WezTerm' || ENV['WEZTERM_EXECUTABLE']
|
|
89
|
+
return :kitty if check_dependency('convert')
|
|
90
|
+
end
|
|
91
|
+
|
|
87
92
|
# Check for Sixel support - works well with curses apps
|
|
88
93
|
# Note: urxvt/rxvt-unicode does NOT support sixel unless specially compiled
|
|
89
94
|
if ENV['TERM']&.match(/^xterm(?!-kitty)|^mlterm|^foot/)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: termpix
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
@@ -10,10 +10,10 @@ bindir: bin
|
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2026-01-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
|
-
description: 'Termpix v0.3.
|
|
14
|
-
|
|
15
|
-
protocol (Kitty, Sixel, or w3m). Auto-detects terminal
|
|
16
|
-
gracefully.'
|
|
13
|
+
description: 'Termpix v0.3.1: WezTerm support added. Uses Kitty graphics protocol
|
|
14
|
+
for kitty, WezTerm, and Ghostty terminals. Provides clean API for displaying images
|
|
15
|
+
in terminal using best available protocol (Kitty, Sixel, or w3m). Auto-detects terminal
|
|
16
|
+
capabilities and falls back gracefully.'
|
|
17
17
|
email: g@isene.com
|
|
18
18
|
executables: []
|
|
19
19
|
extensions: []
|