mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-08 08:10:55 +03:00
Session#changeWindowDimensions was broken, wrong channel request.
Fix for #21
This commit is contained in:
@@ -104,7 +104,7 @@ public class SessionChannel
|
|||||||
public void changeWindowDimensions(int cols, int rows, int width, int height)
|
public void changeWindowDimensions(int cols, int rows, int width, int height)
|
||||||
throws TransportException {
|
throws TransportException {
|
||||||
sendChannelRequest(
|
sendChannelRequest(
|
||||||
"pty-req",
|
"window-change",
|
||||||
false,
|
false,
|
||||||
new Buffer.PlainBuffer()
|
new Buffer.PlainBuffer()
|
||||||
.putUInt32(cols)
|
.putUInt32(cols)
|
||||||
|
|||||||
Reference in New Issue
Block a user