@@ -37,7 +37,6 @@ to https://github.com/jline/jline3[JLine3].
37
37
* ANSI colors (prompt, exception traces, etc).
38
38
* Simple, yet robust, command system with online help, user alias
39
39
support and more.
40
- * User profile support
41
40
42
41
[[GroovyShell-Command-lineOptionsandArguments]]
43
42
=== Command-line Options and Arguments
@@ -193,8 +192,8 @@ Multi-line/complex expressions (like closure or class definitions) may
193
192
be defined over several lines. When the shell detects that it has a
194
193
complete expression it will compile and evaluate it.
195
194
196
- [[GroovyShell-DefineaClass ]]
197
- ===== Define a Class
195
+ [[GroovyShell-DefineTypes ]]
196
+ ==== Defining types
198
197
199
198
You can define all the normal types, e.g. a class:
200
199
218
217
219
218
Defined classes are known to the shell and can be used in completion:
220
219
221
- image:assets/img/repl_typedef.png[Define Class, width=60%]
222
-
223
- [[GroovyShell-VariablesandMethods]]
220
+ image:assets/img/repl_typedef.png[Define Class, width=50%]
224
221
225
222
[[GroovyShell-Variables]]
226
223
==== Variables
@@ -388,6 +385,14 @@ Displays the available colors.
388
385
389
386
image:assets/img/repl_colors.png[Colors, width=80%]
390
387
388
+ This can be useful when configuring the console options, for example the `PRNT_COLORS`:
389
+
390
+ image:assets/img/repl_colors2.png[Colors, width=80%]
391
+
392
+ As this example shows, you can mix color names, theme colors, and color numbers.
393
+ See the https://github.com/jline/jline3/wiki/REPL-Console-Customization[REPL Console Customization]
394
+ documentation for more details about such customization.
395
+
391
396
[[GroovyShell-console]]
392
397
==== `/console`
393
398
0 commit comments