Skip to content

Commit

Permalink
Merge pull request #581 from ejohnstown/term-window-size
Browse files Browse the repository at this point in the history
Fix Terminal Window Size Update
  • Loading branch information
JacobBarthelmeh authored Sep 15, 2023
2 parents e3e65f0 + f8ac528 commit c8f188e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal.c
Original file line number Diff line number Diff line change
Expand Up @@ -13025,7 +13025,7 @@ int SendChannelTerminalResize(WOLFSSH* ssh, word32 columns, word32 rows,
}

if (ret == WS_SUCCESS) {
typeSz = (word32)sizeof(cType) - 1;
typeSz = (word32)WSTRLEN(cType);
ret = PreparePacket(ssh, MSG_ID_SZ + UINT32_SZ + LENGTH_SZ +
typeSz + BOOLEAN_SZ + (4 * UINT32_SZ));
}
Expand Down

0 comments on commit c8f188e

Please sign in to comment.