# LibTmux.Session.name

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** property
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/entities.ex
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-session-name/

```elixir
LibTmux.Session.name: LibTmux.Schema.observed(String.t()) = :unloaded
```

## In other ports

A session's name

| Port | API | Differs from Elixir |
| --- | --- | --- |
| Elixir | `LibTmux.Session.name` | This page |
| Python | [`libtmux.Session.name`](/en/py/latest/reference/libtmux-session-name/) (property). Alias of Session.session_name. | None recorded in the model |
| Ruby | [`LibTmux::SessionSnapshot#name`](/en/ruby/latest/reference/libtmux-sessionsnapshot-name/) (method). Behavior: Captured records. | None recorded in the model |
| Lua | [`libtmux.SnapshotSession.name`](/en/lua/latest/reference/libtmux-snapshotsession-name/) (attribute) | None recorded in the model |
| Rust | [`session.Session.name`](/en/rs/latest/reference/session-session-name/) (method). Return the session name. | None recorded in the model |
| Go | [`tmux.Session.Name`](/en/go/latest/reference/tmux-session-name/) (method). Name returns tmux #{session_name} as string from this Session's materialized session-scoped fields. | None recorded in the model |
| Java | [`io.github.libtmux.Session.name`](/en/java/latest/reference/io-github-libtmux-session-session-name/) (method). The session name, which a user may change at any time. | None recorded in the model |
| C# | [`LibTmux.Session.Name`](/en/csharp/latest/reference/libtmux-session-name/) (property). Gets the session name captured with this handle. | None recorded in the model |
| C++ | [`libtmux::Session::name`](/en/cxx/latest/reference/libtmux-session-name-1gd8/) (method) | readonly |
| Swift | [`Session.name`](/en/swift/latest/reference/session-name/) (property). What a person calls it, and what tmux matches when a command names a session. Renameable, so it is not an identity. | None recorded in the model |
| OCaml | [`Libtmux.Session.name`](/en/ocaml/latest/reference/libtmux-session-name/) (function) | None recorded in the model |
| Perl | [`LibTmux::Session::name`](/en/perl/latest/reference/libtmux-session-name/) (method). string. Local captured data; no I/O. | Schema-validated captured data; reading performs no tmux I/O. |
| Raku | [`LibTmux::Model::Session.name`](/en/raku/latest/reference/libtmux-model-session-name/) (method). Captured session_name; local text access. | None recorded in the model |

No Haskell equivalent. No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent. no accessor; the field is read from `Session.format`, tmux's own row

No equivalent is recorded in PowerShell, Julia, Erlang, Common Lisp, Clojure, Kotlin, Scala or F#.
