Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Dec 3, 2020
1 parent f06d426 commit 3283f88
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,6 @@ func (c *Client) handleOptionPacket(p OptionPacket) OptionPacket {
case NAWS:
replyPacket.OptionCode = WILL
c.enableWindows = true
//var extraPacket OptionPacket
//extraPacket.CommandCode = p.CommandCode
//extraPacket.OptionCode = SB
//extraPacket.Parameters = make([]byte, 0)
//extraPacket.Parameters = append(extraPacket.Parameters, []byte(fmt.Sprintf("%d%d%d%d",
// 0, c.conf.TTYOptions.Wide, 0, c.conf.TTYOptions.High))...)
//extraPackets = append(extraPackets, extraPacket)
// 窗口大小
default:
replyPacket.OptionCode = WONT
Expand Down

0 comments on commit 3283f88

Please sign in to comment.