mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-24 20:56:08 +03:00

Fixes #1198 This adds a fix similar to what we discovered with termio messages: we attempt to send a surface message but if the queue is full we unlock the terminal state and try again waiting forever. In all cases, its safe to unlock the mutex while sending the message, no scenario we send a surface message requires this lock to be held.