mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-22 07:41:23 -07:00
feat: increase simulator stabilization delay to 2s to mitigate TTY rendering lag
This commit is contained in:
@@ -121,7 +121,7 @@ export class UserSimulator {
|
|||||||
// Stabilization delay: Wait for the terminal UI to finish rendering
|
// Stabilization delay: Wait for the terminal UI to finish rendering
|
||||||
// (e.g. ANSI clear/repaint sequences) before looking at the screen.
|
// (e.g. ANSI clear/repaint sequences) before looking at the screen.
|
||||||
// Increased to 1s to handle high-latency PTYs in Docker.
|
// Increased to 1s to handle high-latency PTYs in Docker.
|
||||||
await new Promise((resolve) => setTimeout(resolve, 1000));
|
await new Promise((resolve) => setTimeout(resolve, 2000));
|
||||||
|
|
||||||
const screen = this.getScreen();
|
const screen = this.getScreen();
|
||||||
if (!screen) return;
|
if (!screen) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user