# workspace.Window.UnmarshalYAML

- **Module:** workspace.Window
- **Package:** github.com/libtmux/libtmux-go/workspace
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/workspace/workspace.go#L167
- **Page:** https://libtmux.org/en/go/latest/workspace/reference/workspace-window-unmarshalyaml/

```
workspace.Window.UnmarshalYAML(node: *yaml.Node) -> error
```

UnmarshalYAML decodes the window, then its shell_command_before.
