j
This commit is contained in:
@@ -103,7 +103,7 @@ class PipeObject:
|
||||
return
|
||||
|
||||
# Prefer a stable, human-friendly title:
|
||||
# "1 - download-media", "2 - download-media", ...
|
||||
# "1 - download-file", "2 - download-file", ...
|
||||
# The index is preserved when possible via `pipe_index` in the PipeObject's extra.
|
||||
idx = None
|
||||
try:
|
||||
@@ -875,7 +875,7 @@ class PipelineLiveProgress:
|
||||
|
||||
# IMPORTANT: use the shared stderr Console instance so that any
|
||||
# `stderr_console().print(...)` calls from inside cmdlets (e.g. preflight
|
||||
# tables/prompts in download-media) cooperate with Rich Live rendering.
|
||||
# tables/prompts in download-file) cooperate with Rich Live rendering.
|
||||
# If we create a separate Console(file=sys.stderr), output will fight for
|
||||
# terminal cursor control and appear "blocked"/truncated.
|
||||
from SYS.rich_display import stderr_console
|
||||
|
||||
Reference in New Issue
Block a user