Skip to content

Commit 2e9a8fd

Browse files
committed
0.14
1 parent f1a02aa commit 2e9a8fd

File tree

5 files changed

+353
-19
lines changed

5 files changed

+353
-19
lines changed

.META/SOURCE.cdx.json

Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
1+
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
3+
"bomFormat": "CycloneDX",
4+
"specVersion": "1.6",
5+
"version": 1,
6+
"metadata": {
7+
"timestamp": "2025-11-21T10:28:01+00:00",
8+
"lifecycles": [
9+
{
10+
"phase": "pre-build"
11+
}
12+
],
13+
"authors": [
14+
{
15+
"bom-ref": "TadeusztadzikSośnierz",
16+
"name": "Tadeusz “tadzik” Sośnierz"
17+
},
18+
{
19+
"bom-ref": "ElizabethMattijsen",
20+
"name": "Elizabeth Mattijsen"
21+
},
22+
{
23+
"bom-ref": "GeoffreyBroadwell",
24+
"name": "Geoffrey Broadwell"
25+
}
26+
],
27+
"component": {
28+
"type": "library",
29+
"mime-type": "text/plain",
30+
"bom-ref": "pkg:raku/zef:raku-community-modules/Terminal::ANSIColor@0.13",
31+
"authors": [
32+
{
33+
"bom-ref": "TadeusztadzikSośnierz",
34+
"name": "Tadeusz “tadzik” Sośnierz"
35+
},
36+
{
37+
"bom-ref": "ElizabethMattijsen",
38+
"name": "Elizabeth Mattijsen"
39+
},
40+
{
41+
"bom-ref": "GeoffreyBroadwell",
42+
"name": "Geoffrey Broadwell"
43+
}
44+
],
45+
"publisher": "zef",
46+
"group": "zef:raku-community-modules",
47+
"name": "Terminal::ANSIColor",
48+
"version": "0.13",
49+
"description": "Color screen output using ANSI escape sequences",
50+
"scope": "required",
51+
"licenses": [
52+
{
53+
"license": {
54+
"id": "MIT",
55+
"acknowledgement": "declared",
56+
"url": "https://spdx.org/licenses/MIT.json"
57+
}
58+
}
59+
],
60+
"purl": "pkg:raku/zef:raku-community-modules/Terminal::ANSIColor@0.13",
61+
"externalReferences": [
62+
{
63+
"url": "https://github.com/raku-community-modules/Terminal-ANSIColor",
64+
"type": "distribution"
65+
},
66+
{
67+
"url": "https://raku.land/zef:raku-community-modules/Terminal::ANSIColor?v=0.13",
68+
"type": "documentation"
69+
},
70+
{
71+
"url": "https://github.com/raku-community-modules/Terminal-ANSIColor/issues",
72+
"type": "issue-tracker"
73+
},
74+
{
75+
"url": "https://spdx.org/licenses/MIT.json",
76+
"type": "license"
77+
},
78+
{
79+
"url": "https://github.com/raku-community-modules/Terminal-ANSIColor/archive/refs/tags/0.13.zip",
80+
"type": "source-distribution"
81+
},
82+
{
83+
"url": "mailto:community@raku.org",
84+
"type": "support"
85+
}
86+
],
87+
"tags": [
88+
"TERMINAL",
89+
"TERM",
90+
"COLOR",
91+
"ANSI",
92+
"ECMA-48",
93+
"SGR",
94+
"ESCAPE"
95+
]
96+
},
97+
"licenses": [
98+
{
99+
"license": {
100+
"id": "MIT",
101+
"acknowledgement": "declared",
102+
"url": "https://spdx.org/licenses/MIT.json"
103+
}
104+
}
105+
],
106+
"tools": {
107+
"components": [
108+
{
109+
"type": "library",
110+
"mime-type": "text/plain",
111+
"bom-ref": "pkg:raku/zef:lizmat/SBOM::Raku@0.0.12",
112+
"authors": [
113+
{
114+
"bom-ref": "ElizabethMattijsen",
115+
"name": "Elizabeth Mattijsen"
116+
}
117+
],
118+
"publisher": "zef",
119+
"group": "zef:lizmat",
120+
"name": "SBOM::Raku",
121+
"version": "0.0.12",
122+
"description": "Raku specific SBOM functionality",
123+
"scope": "required",
124+
"licenses": [
125+
{
126+
"license": {
127+
"id": "Artistic-2.0",
128+
"acknowledgement": "declared",
129+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
130+
}
131+
}
132+
],
133+
"purl": "pkg:raku/zef:lizmat/SBOM::Raku@0.0.12",
134+
"externalReferences": [
135+
{
136+
"url": "https://github.com/lizmat/SBOM-Raku",
137+
"type": "distribution"
138+
},
139+
{
140+
"url": "https://raku.land/zef:lizmat/SBOM::Raku?v=0.0.12",
141+
"type": "documentation"
142+
},
143+
{
144+
"url": "https://github.com/lizmat/SBOM-Raku/issues",
145+
"type": "issue-tracker"
146+
},
147+
{
148+
"url": "https://spdx.org/licenses/Artistic-2.0.json",
149+
"type": "license"
150+
},
151+
{
152+
"url": "https://github.com/lizmat/SBOM-Raku/archive/refs/tags/0.0.12.zip",
153+
"type": "source-distribution"
154+
},
155+
{
156+
"url": "mailto:liz@raku.rocks",
157+
"type": "support"
158+
}
159+
],
160+
"tags": [
161+
"SBOM",
162+
"RAKU",
163+
"META"
164+
]
165+
}
166+
]
167+
}
168+
},
169+
"components": [
170+
{
171+
"type": "platform",
172+
"bom-ref": "Rakudo",
173+
"authors": [
174+
{
175+
"bom-ref": "RakudoCoreDevelopers",
176+
"name": "Rakudo Core Developers"
177+
}
178+
],
179+
"publisher": "Rakudo Core Developers",
180+
"group": "Rakudo Core Developers",
181+
"name": "Rakudo",
182+
"version": "2025.11-24-gfbd475fbe",
183+
"description": "The Rakudo™ Compiler implementing the Raku® Programming Language",
184+
"scope": "required",
185+
"licenses": [
186+
{
187+
"license": {
188+
"id": "Artistic-2.0",
189+
"acknowledgement": "declared",
190+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
191+
}
192+
}
193+
],
194+
"copyright": "© 2006 - 2025 Yet Another Society",
195+
"externalReferences": [
196+
{
197+
"url": "https://github.com/rakudo/rakudo",
198+
"type": "distribution"
199+
},
200+
{
201+
"url": "https://github.com/rakudo/rakudo/issues",
202+
"type": "issue-tracker"
203+
},
204+
{
205+
"url": "https://github.com/rakudo/rakudo/archive/fbd475fbe.zip",
206+
"type": "source-distribution"
207+
},
208+
{
209+
"url": "irc://libera.chat/raku",
210+
"type": "chat"
211+
}
212+
]
213+
},
214+
{
215+
"type": "platform",
216+
"bom-ref": "moar",
217+
"authors": [
218+
{
219+
"bom-ref": "TheMoarVMTeam",
220+
"name": "The MoarVM Team"
221+
}
222+
],
223+
"publisher": "The MoarVM Team",
224+
"group": "The MoarVM Team",
225+
"name": "Moar",
226+
"version": "2025.11-2-ga5dc336cc",
227+
"description": "Short for \"Metamodel On A Runtime\", MoarVM is a modern virtual machine built for the Rakudo compiler and the NQP Compiler Toolchain.",
228+
"scope": "required",
229+
"licenses": [
230+
{
231+
"license": {
232+
"id": "Artistic-2.0",
233+
"acknowledgement": "declared",
234+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
235+
}
236+
}
237+
],
238+
"copyright": "© 2012 - 2025 Jonathan Worthington",
239+
"externalReferences": [
240+
{
241+
"url": "https://github.com/MoarVM/MoarVM",
242+
"type": "distribution"
243+
},
244+
{
245+
"url": "https://github.com/MoarVM/MoarVM/issues",
246+
"type": "issue-tracker"
247+
},
248+
{
249+
"url": "irc://libera.chat/moarvm",
250+
"type": "chat"
251+
},
252+
{
253+
"url": "https://github.com/MoarVM/MoarVM.git/archive/refs/tags/a5dc336cc.zip",
254+
"type": "source-distribution"
255+
}
256+
]
257+
}
258+
],
259+
"externalReferences": [
260+
{
261+
"url": "https://github.com/raku-community-modules/Terminal-ANSIColor",
262+
"type": "distribution"
263+
},
264+
{
265+
"url": "https://raku.land/zef:raku-community-modules/Terminal::ANSIColor?v=0.13",
266+
"type": "documentation"
267+
},
268+
{
269+
"url": "https://github.com/raku-community-modules/Terminal-ANSIColor/issues",
270+
"type": "issue-tracker"
271+
},
272+
{
273+
"url": "https://spdx.org/licenses/MIT.json",
274+
"type": "license"
275+
},
276+
{
277+
"url": "https://github.com/raku-community-modules/Terminal-ANSIColor/archive/refs/tags/0.13.zip",
278+
"type": "source-distribution"
279+
},
280+
{
281+
"url": "mailto:community@raku.org",
282+
"type": "support"
283+
}
284+
],
285+
"dependencies": [
286+
{
287+
"ref": "Rakudo",
288+
"dependsOn": [
289+
"moar"
290+
]
291+
},
292+
{
293+
"ref": "pkg:raku/zef:lizmat/SBOM::Raku@0.0.12",
294+
"dependsOn": [
295+
"Rakudo"
296+
]
297+
}
298+
]
299+
}

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ Revision history for Terminal::ANSIColor
22

33
{{$NEXT}}
44

5+
0.14 2025-11-21T11:34:18+01:00
6+
- Add support for many missing SGR attributes, japhb++
7+
58
0.13 2025-07-18T12:54:12+02:00
69
- Fixed some documentation that escaped the move back to
710
Raku Community Modules

META6.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,17 @@
1212
"description": "Color screen output using ANSI escape sequences",
1313
"license": "MIT",
1414
"name": "Terminal::ANSIColor",
15-
"perl": "6.d",
1615
"provides": {
1716
"Terminal::ANSIColor": "lib/Terminal/ANSIColor.rakumod"
1817
},
18+
"raku": "6.d",
1919
"resources": [
2020
],
2121
"source-url": "https://github.com/raku-community-modules/Terminal-ANSIColor.git",
2222
"support": {
23+
"bugtracker": "https://github.com/raku-community-modules/Terminal-ANSIColor/issues",
24+
"email": "community@raku.org",
25+
"source": "https://github.com/raku-community-modules/Terminal-ANSIColor.git"
2326
},
2427
"tags": [
2528
"TERMINAL",
@@ -31,7 +34,6 @@
3134
"ESCAPE"
3235
],
3336
"test-depends": [
34-
"Test::Coverage"
3537
],
36-
"version": "0.13"
38+
"version": "0.14"
3739
}

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ Given a string with color names, the output produced by `color()` sets the termi
4242

4343
Note a few special cases:
4444

45-
* `reset` - Turns off all other attributes/colors
46-
* `bold_off` - Turns off both `bold` and `faint`
45+
* `reset` - Turns off all other attributes/colors
46+
47+
* `bold_off` - Turns off both `bold` and `faint`
48+
4749
* `underline_off` - Turns off both `underline` and `dunderline` (double underline)
4850

4951
The on_* family of colors correspond to the background colors. One or three numeric color values in the range 0..255 may also be specified:
@@ -87,10 +89,11 @@ Constants
8789

8890
As with the equivalents used by `color()`:
8991

90-
* `RESET` - Turns off all other attributes/colors
91-
* `BOLD_OFF` - Turns off both `BOLD` and `FAINT`
92-
* `UNDERLINE_OFF` - Turns off both `UNDERLINE` and `DUNDERLINE` (double underline)
92+
* `RESET` - Turns off all other attributes/colors
9393

94+
* `BOLD_OFF` - Turns off both `BOLD` and `FAINT`
95+
96+
* `UNDERLINE_OFF` - Turns off both `UNDERLINE` and `DUNDERLINE` (double underline)
9497

9598
AUTHORS
9699
=======

0 commit comments

Comments
 (0)