# libtmux._internal.log_context._CommandSegment

- **Module:** libtmux._internal.log_context
- **Package:** libtmux
- **Language:** Python
- **Kind:** class
- **Source:** https://github.com/tmux-python/libtmux/blob/efdbb5637666b166358772ecc737b3807beab21e/src/libtmux/_internal/log_context.py#L34
- **Bases:** [`t.NamedTuple`](https://docs.python.org/3/library/typing.html#typing.NamedTuple)
- **Page:** https://libtmux.org/en/py/latest/reference/libtmux-_internal-log_context-_commandsegment/

One command slice from a ``;``-separated tmux command list.

## Members

### Other members

- [`attached_semicolon`](/en/py/latest/reference/libtmux-_internal-log_context-_commandsegment-attached_semicolon/) (attribute)
- [`standalone_semicolon`](/en/py/latest/reference/libtmux-_internal-log_context-_commandsegment-standalone_semicolon/) (attribute)
- [`tokens`](/en/py/latest/reference/libtmux-_internal-log_context-_commandsegment-tokens/) (attribute)
