# io.github.libtmux.control.ControlEvent.ControlEvent.ControlEvent

- **Module:** io.github.libtmux.control.ControlEvent.ControlEvent
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/control/ControlEvent.java#L37
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-control-controlevent-controlevent-controlevent/

```
io.github.libtmux.control.ControlEvent.ControlEvent.ControlEvent(kind: String, fields: List<String>, value: Optional<String>)
```

An event from its words, with the typed reading taken from them.

A name is rejoined from the words with single spaces, so one tmux wrote with a run of them
reads back with one. {@link #parse} reads the line tmux wrote and has no such loss.
