pub fn validate_name(name: &str) -> Result<()>Expand description
Reject session names that aren’t a single safe path segment. A name becomes both a tmux session
name and a sidecar filename, so it must contain only [A-Za-z0-9._-], start with an alphanumeric
or underscore (no leading - that tmux could read as a flag), and never contain ...