Session#changeWindowDimensions was broken, wrong channel request.

Fix for #21
This commit is contained in:
Shikhar Bhushan
2011-07-03 10:59:40 +01:00
parent aa4faf3f25
commit 6b66a952d4

View File

@@ -104,7 +104,7 @@ public class SessionChannel
public void changeWindowDimensions(int cols, int rows, int width, int height)
throws TransportException {
sendChannelRequest(
"pty-req",
"window-change",
false,
new Buffer.PlainBuffer()
.putUInt32(cols)