WARNING! I tried this and it corrupted my entire tmux session, leaving me to have to recreate the entire thing....

Steps to reproduce the bug that broke my tmux:

1. `aoe add .`

2. `aoe`

3. Attach to the session that was added

4. Close that pane with `<Prefix> x` then `y`

5. Tmux closes down

6. Attempt to reattach to any session within tmux: `open terminal failed: not a terminal`

7. `tmux kill-server` is the only viable option, losing all my sessions

Found the bug! I was using three handles to point to the same file descriptor. Fixed in https://github.com/njbrake/agent-of-empires/pull/27, i'll get a patch version out ASAP

Thank you for the bug report! I created https://github.com/njbrake/agent-of-empires/issues/26

Would you be able to share any additional information about what terminal you are using? I saw issues when using inside of termius.

I have https://github.com/njbrake/agent-of-empires?tab=readme-ov-fi... to try to explain how to use it inside of ios termius, if that helps.

Cheers! This happened in ghostty. Also posted a comment on GH.

Bug is patched in version 0.2.2, run `brew update && brew upgrade aoe` to grab the update