File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/cli-kit/src/public/node Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -348,14 +348,19 @@ export async function sleep(seconds: number): Promise<void> {
348348}
349349
350350/**
351- * Check if the standard input and output streams support prompting .
351+ * Check if the terminal supports OSC 8 hyperlinks .
352352 *
353- * @returns True if the standard input and output streams support prompting .
353+ * @returns True if the terminal supports hyperlinks .
354354 */
355355export function terminalSupportsHyperlinks ( ) : boolean {
356356 return supportsHyperlinks . stdout
357357}
358358
359+ /**
360+ * Check if the standard input and output streams support prompting.
361+ *
362+ * @returns True if the standard input and output streams support prompting.
363+ */
359364export function terminalSupportsPrompting ( ) : boolean {
360365 if ( isTruthy ( process . env . CI ) ) {
361366 return false
You can’t perform that action at this time.
0 commit comments