Wait for the renderer to suspend and resume

OpenTUI 0.8 suspends and resumes asynchronously and refuses to resume
mid-transition, so $EDITOR and an attached terminal wait for each step.
This commit is contained in:
Callum Alpass committed 2026-11-03 02:05:13 +11:00
1 parent b35263b41b
commit 60e2357dab
6 files changed
+18 -17

No files matched your search

+1 -1
View File
@@ -83,7 +83,7 @@ export function useWorkspace(input: {
...terminal,
label: resolveTerminalSessionLabel(terminal.terminalId, terminal),
};
attachTerminal(renderer, session, target, (message) => {
void attachTerminal(renderer, session, target, (message) => {
if (message) say(message);
});
};