mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-03 14:25:37 +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:
parent
a8b51d2d0c
commit
bcf58c2243
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue