Skip to content

Commit dc221fa

Browse files
committed
Tweak the wording for waitForShellIntegration description
1 parent d6626fb commit dc221fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/terminal/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const SHELL_INTEGRATION_TIMEOUT = 500; // 0.5 seconds
1010
export const SHELL_INTEGRATION_POLL_INTERVAL = 20; // 0.02 seconds
1111

1212
/**
13-
* This function races three conditions:
13+
* Three conditions in a Promise.race:
1414
* 1. Timeout based on VS Code's terminal.integrated.shellIntegration.timeout setting
1515
* 2. Shell integration becoming available (window.onDidChangeTerminalShellIntegration event)
1616
* 3. Detection of common prompt patterns in terminal output

0 commit comments

Comments
 (0)