2023-03-17 17:47:17 +00:00
|
|
|
package com.ryanmichela.sshd.jline;
|
2013-11-14 07:17:51 +00:00
|
|
|
|
2017-11-14 14:06:20 +00:00
|
|
|
import jline.TerminalSupport;
|
2013-11-14 07:17:51 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Copyright 2013 Ryan Michela
|
|
|
|
*/
|
2019-11-24 05:53:58 +00:00
|
|
|
public class SshTerminal extends TerminalSupport
|
|
|
|
{
|
2023-03-17 17:47:17 +00:00
|
|
|
public SshTerminal()
|
2019-11-24 05:53:58 +00:00
|
|
|
{
|
2019-10-04 04:41:02 +00:00
|
|
|
super(true);
|
|
|
|
}
|
2013-11-14 07:17:51 +00:00
|
|
|
|
2019-10-04 04:41:02 +00:00
|
|
|
@Override
|
2019-11-24 05:53:58 +00:00
|
|
|
public void init() throws Exception
|
|
|
|
{
|
2019-10-04 04:41:02 +00:00
|
|
|
setAnsiSupported(true);
|
|
|
|
setEchoEnabled(true);
|
|
|
|
}
|
2013-11-14 07:17:51 +00:00
|
|
|
}
|