Initial commit.
This commit is contained in:
19
src/main/java/com/ryanmichela/sshd/SshTerminal.java
Normal file
19
src/main/java/com/ryanmichela/sshd/SshTerminal.java
Normal file
@@ -0,0 +1,19 @@
|
||||
package com.ryanmichela.sshd;
|
||||
|
||||
import org.bukkit.craftbukkit.libs.jline.TerminalSupport;
|
||||
|
||||
/**
|
||||
* Copyright 2013 Ryan Michela
|
||||
*/
|
||||
public class SshTerminal extends TerminalSupport {
|
||||
|
||||
protected SshTerminal() {
|
||||
super(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
setAnsiSupported(true);
|
||||
setEchoEnabled(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user