picocli
picocli copied to clipboard
Completion without space at the end
Hi Remko,
I was able to write a completer that makes a coma separated list of values, at first all values are shown, then only the values not used already are added to the list. Like this:
values are x,y,z no input: shows x y z as candidates input = x: shows x,y and x,z as candidates
This is similar to the behavior for paths, the problem is, that after completing a value (longer than 1 char) with <TAB>, a space is appended.
For jline3 I found that it is possible to add candidates with the field complete=false, is there a way to tell picocli to complete without adding a space?
Thank you in advance and best regards, Mayra
fyi: I'm using 'picocli-shell-jline3', version: '4.6.2' and 'jline-terminal-jansi', version: '3.21.0'