mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(coding-agent): drain startup benchmark replies
This commit is contained in:
parent
0bdbe7c57b
commit
d8a2cab3d9
1 changed files with 3 additions and 0 deletions
|
|
@ -810,6 +810,9 @@ export async function main(args: string[], options?: MainOptions) {
|
|||
if (startupBenchmark) {
|
||||
await interactiveMode.init();
|
||||
time("interactiveMode.init");
|
||||
// Give the TUI's stdin handler a brief chance to consume terminal query replies
|
||||
// (Kitty keyboard protocol, device attributes, cell size) before restoring the terminal.
|
||||
await new Promise((resolve) => setTimeout(resolve, 150));
|
||||
interactiveMode.stop();
|
||||
stopThemeWatcher();
|
||||
printTimings();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue