All Questions
9 questions
1
vote
2
answers
1k
views
Spring Shell components don't show up
I'm trying to use the Spring Shell built-in components StringInput, PathInput, ConfirmationInput, SingleSelect and MultiSelect. Each time I try and use one of these by executing the run() method they ...
0
votes
1
answer
249
views
Jline with completion candidates having space giving unexpected output
I am using Jline 3.21.0 and trying to run a simple test with reference from
https://github.com/jline/jline3/blob/master/reader/src/test/java/org/jline/reader/completer/StringsCompleterTest.java
Below ...
0
votes
1
answer
685
views
jline problems with escape character in completion
I am working on a project with jline version3 in java but in completion, I need to have "else if" but it puts \ to escape space as an escape character and I don't have any escape character ...
0
votes
2
answers
233
views
Single title in JLine 3 help output
How do I customize the help command in JLine 3? The help in my JLine 3 shell sample displays as:
manager> help
System:
exit exit from app/script
help command help
Builtins:
...
0
votes
1
answer
432
views
Java : Jline3 : Autocomplete with more than one word
I would like to auto complete using more than one word, for example:
> we can<TAB>
welcome_trashcan pecan_seaweed yeswecan canwest
So all the suggestions should contain both of the ...
4
votes
1
answer
4k
views
JLine3 "Unable to create a system terminal" after build
I just tried to implement JLine with Jansi, but it throws always the same UnsupportedOperationException referring to org.jline.terminal.impl.jansi.JansiSupportImpl#winSysTerminal. Inspecting this ...
1
vote
1
answer
1k
views
How to display command history with jline3?
I want the most recent command entered to be displayed when the user presses the up arrow key.
The Terminal is defined like this (Scala code):
val terminal: Terminal =
TerminalBuilder.builder
....
0
votes
1
answer
199
views
Obtaining the collection of jline3 commands from a TreeCompleter
I have a TreeCompleter (Scala code) which works as expected:
val treeCompleter = new TreeCompleter(
node("bindkey"),
node("cls"),
node(
"custom",
node("Option1", node("Param1",...
0
votes
1
answer
905
views
How to display all commands using jline3
I have a TreeCompleter (Scala code) which works as expected:
val treeCompleter = new TreeCompleter(
node("bindkey"),
node("cls"),
node(
"custom",
node("Option1", node("Param1",...