22 lines
310 B
Java
22 lines
310 B
Java
package com.ryanmichela.sshd.jline;
|
|
|
|
import jline.TerminalSupport;
|
|
|
|
/**
|
|
* Copyright 2013 Ryan Michela
|
|
*/
|
|
public class SshTerminal extends TerminalSupport
|
|
{
|
|
public SshTerminal()
|
|
{
|
|
super(true);
|
|
}
|
|
|
|
@Override
|
|
public void init() throws Exception
|
|
{
|
|
setAnsiSupported(true);
|
|
setEchoEnabled(true);
|
|
}
|
|
}
|