# LibTmux.FormatField

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/formats.jl#L1
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-formatfield/

```
LibTmux.FormatField(name::AbstractString, ::Type{T}) where T

LibTmux.FormatField(name::AbstractString)
```

Describe one literal tmux format identifier with a `String`, `Int` or `Bool` decoder. Names match `[a-z][a-z0-9_]*`; any such name is accepted, including variables outside the snapshot field catalog. Construction does not prove that the connected tmux supports the variable or supplies it in a given context. Expressions, option names and command substitutions require `RawFormat`.

```julia
FormatField(name, T=String)
```

## Methods

### `LibTmux.FormatField(name::AbstractString, ::Type{T}) where T`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/formats.jl#L13).

### `LibTmux.FormatField(name::AbstractString)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/formats.jl#L22).

## Parameters

- `name` (`AbstractString`)
- `argument2` (`Type{T}`) (for `FormatField(name, argument2)`)

## Members

### Other members

- `name` (property)
