Questions tagged [jline3]

23 questions
0
votes
2 answers

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: ShellCommandRegistry: create Create some stuff with…
Jan Nielsen
  • 10,892
  • 14
  • 65
  • 119
0
votes
1 answer

JLine3 - Autosuggestion not working as expected

I'm writing a simple ssh server with Apache Mina SSHD and I'm using JLine3 to handle input and output. I'm testing Autosuggestion Tail Tip Widgets: it works but not as expected. What I get: What I want: I don't know why I don't get the result…
dems98
  • 814
  • 3
  • 9
  • 22
0
votes
2 answers

How to prepend String on each line by jline3?

I want app to print on each line its name like (shell > ): shell > --param1 value1 --param2 value2 Is it possible to implement it by jline3?
Asad Ganiev
  • 449
  • 4
  • 16
0
votes
2 answers

picocli does not work with jline3 in cmd.exe

I want to use picocli with jline3. So I create a project with the following pom.xml:
flaxel
  • 4,173
  • 4
  • 17
  • 30
0
votes
1 answer

Java : Jline3 : Autocomplete with more than one word

I would like to auto complete using more than one word, for example: > we can welcome_trashcan pecan_seaweed yeswecan canwest So all the suggestions should contain both of the keywords. Ideally, it should work for unlimited keywords. I read…
lepe
  • 24,677
  • 9
  • 99
  • 108
0
votes
1 answer

Groovy: JLine does not wait for input Gradle

OS: Windows 10, mainly using Cygwin. I put together a DummyMain.groovy file like so: @Grab(group='org.jline', module='jline', version='3.7.0') class DummyMain { static void main( args ) { new DummyMain().go() } def go() { def terminal =…
mike rodent
  • 14,126
  • 11
  • 103
  • 157
0
votes
1 answer

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", "Param2")), node("Option2"), …
Mike Slinn
  • 7,705
  • 5
  • 51
  • 85
0
votes
1 answer

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", "Param2")), node("Option2"), …
Mike Slinn
  • 7,705
  • 5
  • 51
  • 85
1
2