never omit ptypos or data from WebSharePtyData

This commit is contained in:
sawka 2023-03-30 00:07:25 -07:00
parent a340f93c20
commit 3709381034

View File

@ -165,7 +165,7 @@ func webCmdFromCmd(lineId string, cmd *sstore.CmdType) (*WebShareCmdType, error)
}
type WebSharePtyData struct {
PtyPos int64 `json:"ptypos,omitempty"`
Data []byte `json:"data,omitempty"`
PtyPos int64 `json:"ptypos"`
Data []byte `json:"data"`
Eof bool `json:"-"` // internal use
}