Skip to content

Hex1bResizeEvent ​

Namespace: Hex1b.Input

Assembly: Hex1b.dll

A terminal resize event. Handled by the app to trigger re-layout.

csharp
public sealed record Hex1bResizeEvent : Hex1bEvent, IEquatable<Hex1bEvent>, IEquatable<Hex1bResizeEvent>

Inheritance ​

Object → Hex1bEvent → Hex1bResizeEvent

Implements ​

Constructors ​

Hex1bResizeEvent(int, int) ​

A terminal resize event. Handled by the app to trigger re-layout.

Parameters:

  • Width (Int32): New terminal width in characters.
  • Height (Int32): New terminal height in lines.
csharp
public Hex1bResizeEvent(int Width, int Height)

Properties ​

Height ​

New terminal height in lines.

Returns: Int32

csharp
public int Height { get; init; }

Width ​

New terminal width in characters.

Returns: Int32

csharp
public int Width { get; init; }

Released under the MIT License.