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:
1 parent
b35263b41b
commit
60e2357dab
6 files changed
+18
-17
No files matched your search
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user