fix: add COLUMNS and _TYPER_FORCE_DISABLE_TERMINAL for consistent output (#167)

This commit is contained in:
Bas Nijholt
2026-01-16 22:07:41 +01:00
committed by GitHub
parent 940bd9585a
commit 74cc2f3245
2 changed files with 213 additions and 222 deletions

View File

@@ -26,7 +26,9 @@ jobs:
env:
TERM: dumb
NO_COLOR: 1
TERMINAL_WIDTH: 90
COLUMNS: 90 # POSIX terminal width for Rich
TERMINAL_WIDTH: 90 # Typer MAX_WIDTH for help panels
_TYPER_FORCE_DISABLE_TERMINAL: 1 # Prevent Typer forcing terminal mode in CI
run: |
uvx --with . markdown-code-runner README.md
sed -i 's/[[:space:]]*$//' README.md