Skip to content

Conversation

@TobyKThurston
Copy link

Fixes #980.

tmuxp config allows shell_command entries to be strings in docs and examples,
but WorkspaceBuilder assumed dict entries and crashed.

This change normalizes string entries to {"cmd": } and raises a clear
TypeError for unsupported types.

Added regression test to cover the crash case.

@CLAassistant
Copy link

CLAassistant commented Jan 28, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cmd.get("enter", enter) AttributeError: 'str' object has no attribute 'get'

2 participants