Skip to content

Commit

Permalink
Moved Connection to terminal API
Browse files Browse the repository at this point in the history
  • Loading branch information
jfdenise committed Mar 20, 2017
1 parent 9ed6fb2 commit f4b8051
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.aesh.readline.completion.CompletionHandler;
import org.aesh.readline.editing.EditMode;
import org.aesh.readline.history.History;
import org.aesh.readline.tty.Connection;
import org.aesh.terminal.Connection;
import org.aesh.util.LoggerUtil;

import java.util.logging.Logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
package org.aesh.readline;

import org.aesh.readline.editing.EditMode;
import org.aesh.readline.tty.Connection;
import org.aesh.terminal.Connection;

/**
* InputProcessor is used by {@link org.aesh.readline.Readline} to process the input.
Expand Down
4 changes: 2 additions & 2 deletions readline/src/main/java/org/aesh/readline/Readline.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
import org.aesh.readline.terminal.Key;
import org.aesh.util.Config;
import org.aesh.util.Parser;
import org.aesh.readline.tty.Connection;
import org.aesh.terminal.Connection;
import org.aesh.util.LoggerUtil;

import java.util.List;
Expand All @@ -45,7 +45,7 @@

/**
* Readline is a simple way to read a single input line from the terminal/shell/console.
* Readline reads/writes from/to a {@link org.aesh.readline.tty.Connection}.
* Readline reads/writes from/to a {@link org.aesh.terminal.Connection}.
*
* Readline is thread safe and will not accept new {@link org.aesh.readline.Readline#readline} calls
* while currently reading input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.aesh.terminal.Terminal;
import org.aesh.readline.terminal.TerminalBuilder;
import org.aesh.terminal.tty.Capability;
import org.aesh.readline.tty.Connection;
import org.aesh.terminal.Connection;
import org.aesh.util.LoggerUtil;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.aesh.readline.editing.EditModeBuilder;
import org.aesh.readline.history.InMemoryHistory;
import org.aesh.terminal.tty.Capability;
import org.aesh.readline.tty.Connection;
import org.aesh.terminal.Connection;
import org.junit.Test;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/
package org.aesh.readline.tty;

import org.aesh.terminal.Connection;
import org.aesh.terminal.tty.Size;
import org.aesh.terminal.tty.Capability;
import org.aesh.io.Decoder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.aesh.readline.tty;
package org.aesh.terminal;

import org.aesh.terminal.tty.Size;
import org.aesh.terminal.tty.Capability;
Expand Down

0 comments on commit f4b8051

Please sign in to comment.