You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/06/09 20:07:03 UTC
svn commit: r665808 -
/geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
Author: jdillon
Date: Mon Jun 9 11:07:03 2008
New Revision: 665808
URL: http://svn.apache.org/viewvc?rev=665808&view=rev
Log:
Update some comments re: completion
Modified:
geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
Modified: geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java?rev=665808&r1=665807&r2=665808&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java (original)
+++ geronimo/gshell/trunk/gshell-core/src/main/java/org/apache/geronimo/gshell/console/JLineConsole.java Mon Jun 9 11:07:03 2008
@@ -37,8 +37,6 @@
{
private final ConsoleReader reader;
- // final CommandsMultiCompletor completor
-
public JLineConsole(final Executor executor, final IO io) throws IOException {
super(executor);
@@ -46,22 +44,13 @@
reader = new ConsoleReader(io.inputStream, new PrintWriter(io.outputStream, true), /*bindings*/null, io.getTerminal());
reader.setUsePagination(true);
-
- // this.completor = new CommandsMultiCompletor()
- // reader.addCompletor(completor)
+ // TODO: Install completion handler
}
public void run() {
- /*
- for (command in shell.registry) {
- completor << command
- }
-
- // Force things to become clean
- completor.refresh()
- */
-
+ // TODO: Update/install/whatever the completion handler
+
// And then actually run
super.run();
}