parent
7bc24bc5e0
commit
b9687a28f0
@ -160,8 +160,9 @@ func (sess *session) handleRequests(reqs <-chan *gossh.Request) {
|
|||||||
if ok {
|
if ok {
|
||||||
sess.pty = &Pty{Window{width, height}}
|
sess.pty = &Pty{Window{width, height}}
|
||||||
sess.winch = make(chan Window)
|
sess.winch = make(chan Window)
|
||||||
req.Reply(true, nil)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
req.Reply(ok, nil)
|
||||||
case "window-change":
|
case "window-change":
|
||||||
if sess.pty == nil {
|
if sess.pty == nil {
|
||||||
req.Reply(false, nil)
|
req.Reply(false, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user