Table of Contents

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

columns int
rows int
widthPixels int
heightPixels int
cancellationToken CancellationToken

Returns

Task

Exceptions

InvalidOperationException

The session has no terminal.