Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
μ-the-ultimate's user avatar
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 ...
Amol B's user avatar
  • 21
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 ...
radinParsaei's user avatar
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: ...
Jan Nielsen's user avatar
  • 11.6k
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 ...
lepe's user avatar
  • 25.2k
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 ...
Felix Gaebler's user avatar
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 ....
Mike Slinn's user avatar
  • 8,355
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",...
Mike Slinn's user avatar
  • 8,355
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",...
Mike Slinn's user avatar
  • 8,355