Method ResizeTerminalAsync
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
ResizeTerminalAsync(int, int, int, int, CancellationToken)
Tells the server the terminal's new size (window-change), so full-screen programs redraw for it.
public Task ResizeTerminalAsync(int columns, int rows, int widthPixels = 0, int heightPixels = 0, CancellationToken cancellationToken = default)
Parameters
columnsintrowsintwidthPixelsintheightPixelsintcancellationTokenCancellationToken
Returns
Exceptions
- InvalidOperationException
The session has no terminal.