# TextSessionDescriptor

`import { TextSessionDescriptor } from "destack:input/binding";`

Text input session descriptor.

```ds title="TextSessionDescriptor"
export struct TextSessionDescriptor {
    window: WindowHandle;
    inputKind: TextInputKind;
    isMultiline: boolean;
    isSecure: boolean;
}
```

[language/library/src/input/binding/text.ds:79:88](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/text.ds#L79-L88)

## Members

### `window: WindowHandle`

Window that owns the text session.

### `inputKind: TextInputKind`

Text input type hint.

### `isMultiline: boolean`

Whether the session is multiline.

### `isSecure: boolean`

Whether the session is secure or password-like.
