-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9df762e
commit fd34d49
Showing
3 changed files
with
46 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,24 +184,7 @@ private jline.console.completer.Completer clientCompleter() { | |
|
||
/** | ||
* Copied from JLine sourcecode and heavily modified | ||
* <p/> | ||
* Original sources: https://raw.github.com/jline/jline2/master/src/main/java/jline/console/completer/CandidateListCompletionHandler.java | ||
* <p/> | ||
* Copyright (c) 2002-2012, the original author or authors. | ||
* <p/> | ||
* This software is distributable under the BSD license. See the terms of the | ||
* BSD license in the documentation provided with this software. | ||
* <p/> | ||
* http://www.opensource.org/licenses/bsd-license.php | ||
* <p/> | ||
* A {@link jline.console.completer.CompletionHandler} that deals with multiple distinct completions | ||
* by outputting the complete list of possibilities to the console. This | ||
* mimics the behavior of the | ||
* <a href="http://www.gnu.org/directory/readline.html">readline</a> library. | ||
* | ||
* @author <a href="mailto:[email protected]">Marc Prud'hommeaux</a> | ||
* @author <a href="mailto:[email protected]">Jason Dillon</a> | ||
* @since 2.3 | ||
*/ | ||
public static class JlineCompletionHandler implements CompletionHandler { | ||
// TODO: handle quotes and escaped quotes && enable automatic escaping of whitespace | ||
|