hiiro 0.1.344 → 0.1.345
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/CHANGELOG.md +5 -0
- data/lib/hiiro/shell.rb +2 -1
- data/lib/hiiro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e46cf30e0170d883a3b5dcf6e74e6cd922b344c71f58dd45d0b7d2ec05eefa41
|
|
4
|
+
data.tar.gz: 05db55a107104823401ce9b3a07a2437943d8250a5bdced2d0bfaa87c53cbd15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 576c57204f0e860d74068168bc8483af0a495e1afe7d562bb482142ea1af190c13c3958712978ffa1d0e36a5fdacca4c3bec201c9adbacec4918ba46679de2cd
|
|
7
|
+
data.tar.gz: 97a7acaf188780eef1ad9ca522e43111c19fde4ea17f1738fc7d54465617433a887c0b73b1390f481cd1606d41f9cac6c58dd42444afd56c66730206bd99fb00
|
data/CHANGELOG.md
CHANGED
data/lib/hiiro/shell.rb
CHANGED
|
@@ -80,7 +80,8 @@ class Hiiro
|
|
|
80
80
|
# Matches the full ANSI/VT100 escape sequence spec:
|
|
81
81
|
# cursor movement, erase, colors, SGR — everything a terminal interprets.
|
|
82
82
|
# [^[] catches all single-char Fe sequences (e.g. \eM, \eD); \[...] catches CSI.
|
|
83
|
-
|
|
83
|
+
# \x20-\x2f used instead of space-to-slash to avoid ambiguity with the / regex delimiter.
|
|
84
|
+
ANSI_PATTERN = /\e(?:\[[0-?]*[\x20-\x2f]*[@-~]|[^\[])/
|
|
84
85
|
|
|
85
86
|
attr_reader :stdout, :stderr, :status
|
|
86
87
|
|
data/lib/hiiro/version.rb
CHANGED