# TerminalOptions

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.5.3`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/b5f143315ffb6968ea939a9978797a5b20e4c688/src/Aspire.Hosting/ApplicationModel/TerminalAnnotation.cs)

Options for configuring a terminal session.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class TerminalOptions
{
    // ...
}
```

## Constructors

- [TerminalOptions](/reference/api/csharp/aspire.hosting/terminaloptions/constructors.md#constructor)

## Properties

- [Columns](/reference/api/csharp/aspire.hosting/terminaloptions/properties.md#columns) : `int` `get; set` -- Gets or sets the initial number of columns for the terminal. The value must be greater than zero. Defaults to 120.
- [Rows](/reference/api/csharp/aspire.hosting/terminaloptions/properties.md#rows) : `int` `get; set` -- Gets or sets the initial number of rows for the terminal. The value must be greater than zero. Defaults to 30.
- [ShowTerminalHost](/reference/api/csharp/aspire.hosting/terminaloptions/properties.md#showterminalhost) : `bool` `get; set` -- Gets or sets a value indicating whether the per-replica terminal host resources (named `{parent}-terminalhost-{index}`) should appear in the resource list.
