# io.github.libtmux.kotlin.Session.Companion

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Session.kt#L51
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-session-companion/

```
public companion object
```

## Members

### Collections and queries

- `windows` (property): This session's windows.

### Other members

- `attached` (property): Whether a client was attached when this was captured.
- `id` (property): The session id, as text, so it can be compared and listed.
- `name` (property): The session name.
- `windowCount` (property): How many windows this session holds.
