mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-16 14:47:49 -06:00
docs: check and copy samples printed by install.py
This commit is contained in:
1 parent
3d96f968e1
commit
6454de8772
5 files changed
+158
-36
No files matched your search
+2
-1
@@ -7905,7 +7905,8 @@ def fold_line(text: str, hang: str = " ") -> str:
|
||||
at /media/moi/ONION/BIOS" broke inside "(RetroArch files)" and a folder
|
||||
inside its name (tui_audit_17 P3-8)."""
|
||||
cols = max(terminal_size()[0] - 1, 8)
|
||||
if cell_width(text) <= cols:
|
||||
if cell_width(text) <= cols or not _is_terminal(sys.stdout):
|
||||
# A pipe or a log folds nothing: the line is kept whole there.
|
||||
return text
|
||||
lead = text[:len(text) - len(text.lstrip(" "))]
|
||||
prefix = lead + hang
|
||||
|
||||
Reference in new issue
Block a user