fix(spawn): strip ANSI codes from zellij list-sessions output

Zellij outputs colored text with ANSI escape codes, which caused
session name parsing to fail. Now strips escape codes before parsing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
teernisse
2026-02-26 17:20:21 -05:00
parent f26e9acb34
commit 69175f08f9
13 changed files with 16 additions and 6 deletions

View File

@@ -0,0 +1 @@
[ 94144ms] [ERROR] Failed to load resource: the server responded with a status of 500 (Internal Server Error) @ http://127.0.0.1:7400/api/spawn:0