20 lines
365 B
Java
20 lines
365 B
Java
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);
|
|
}
|
|
}
|