This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 49d8d17309 GROOVY-8162: Update Groovysh to JLine3 (additional colors
examples)
49d8d17309 is described below
commit 49d8d17309c52f271a5b13d2ab1d44f85ed91d12
Author: Paul King <[email protected]>
AuthorDate: Wed Aug 20 13:04:58 2025 +1000
GROOVY-8162: Update Groovysh to JLine3 (additional colors examples)
---
subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
index 8e6e6a826f..e27d2dc8f5 100644
--- a/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
+++ b/subprojects/groovy-groovysh/src/spec/doc/groovysh.adoc
@@ -398,9 +398,18 @@ image:{reldir_groovysh}/assets/img/repl_colors.png[Colors,
width=80%]
This can be useful when configuring the console options, for example the
`PRNT_COLORS`:
-image:{reldir_groovysh}/assets/img/repl_colors2.png[Colors, width=80%]
+image:{reldir_groovysh}/assets/img/repl_colors2.png[Colors for /prnt,
width=90%]
+
+As this example shows, you can mix color names (like _black_ and _magenta_),
theme colors (like _NUMBER_), and color numbers (like _75_).
+
+Here is an example for `HELP_COLORS`:
+
+image:{reldir_groovysh}/assets/img/repl_colors3.png[Colors for --help,
width=75%]
+
+Here is an example for `LS_COLORS`:
+
+image:{reldir_groovysh}/assets/img/repl_colors4.png[Colors for --help,
width=75%]
-As this example shows, you can mix color names, theme colors, and color
numbers.
See the https://github.com/jline/jline3/wiki/REPL-Console-Customization[REPL
Console Customization]
documentation for more details about such customization.