Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 6a7b2ca

Browse files
committed
Set ClientMessage.Type to Resize correctly
1 parent f92b161 commit 6a7b2ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wush/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func (w *stdinWriter) Close() error {
7070

7171
func (c *Client) Resize(width, height int) error {
7272
err := wsjson.Write(c.ctx, c.conn, &ClientMessage{
73-
Type: Stdin,
73+
Type: Resize,
7474
Height: height,
7575
Width: width,
7676
})

0 commit comments

Comments
 (0)