fix: revert to blocking connect-daemon, daemon connection now reliable

- Revert async connect-daemon thread (bt:make-thread unreliable — errors
  in the thread cause silent failure, no connection, no error message)
- Restore blocking connect-daemon before with-terminal (original pattern
  that was working)
- Revert /reconnect to synchronous call
- Remove stale async thread code and error messages
This commit is contained in:
2026-05-15 09:21:54 -04:00
parent c148570d4c
commit 53aa471a51

View File

@@ -440,7 +440,9 @@ Event handlers + daemon I/O + main loop.
;; /reconnect — re-establish daemon connection ;; /reconnect — re-establish daemon connection
((string-equal text "/reconnect") ((string-equal text "/reconnect")
(disconnect-daemon) (disconnect-daemon)
(connect-daemon)) (add-msg :system "* Reconnecting... *")
(connect-daemon)
(setf (st :dirty) (list t t nil)))
;; Normal message ;; Normal message
(t (t
(add-msg :user text) (add-msg :user text)