1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 22:25:25 +02:00

[168291] Send terminal type "ansi" to jsch in order to fix scrolling in Terminal. This requires Eclipse 3.3RC3.

This commit is contained in:
Martin Oberhuber 2007-06-06 17:35:35 +00:00
parent 73bd0b6c03
commit b8aea32ae8

View file

@ -98,6 +98,7 @@ class SshConnection extends Thread {
session.connect(nTimeout); // making connection with timeout.
ChannelShell channel=(ChannelShell) session.openChannel("shell"); //$NON-NLS-1$
channel.setPtyType("ansi"); //$NON-NLS-1$
channel.connect();
fConn.setInputStream(channel.getInputStream());
fConn.setOutputStream(channel.getOutputStream());