Skip to content

Commit

Permalink
Restoring the empty CTRL message on start
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Jul 3, 2024
1 parent 5e79b7d commit 99b60fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions peers/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ func (peer *Peer) GetOrCreatePane(d *webrtc.DataChannel) (*Pane, error) {
peer.logger.Info("Got a request to open a control channel")
peer.cdc = d
d.OnMessage(peer.handleCTRLMsg)
peer.handleCTRLMsg(webrtc.DataChannelMessage{})
return nil, nil
}
// if the label starts witha digit, i.e. "80x24" it needs a pty
Expand Down

0 comments on commit 99b60fb

Please sign in to comment.