mirror of https://github.com/sbt/sbt.git
Tab completions did not work well in sbt 1.4.x when run with -Dsbt.color=false. This was because we were stripping a bunch of ansi codes, which caused some problems with the jline 3 completion engine. Instead of stripping the ansi codes, we can set the jline max_colors capability to 1 if color is disabled. With this change, the completions are similar to 1.3.13 except that in jline 2 the user has to hit tab twice to see all of the available candidates while in jline 3, the candidates are immediately printed below the prompt. |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||