Skip to content

🔧 [Bug]: Fixing TYPER_USE_RICH environment variable not handled in _sanitize_help_text#1643

Open
albin-paul-saju wants to merge 5 commits intofastapi:masterfrom
albin-paul-saju:master
Open

🔧 [Bug]: Fixing TYPER_USE_RICH environment variable not handled in _sanitize_help_text#1643
albin-paul-saju wants to merge 5 commits intofastapi:masterfrom
albin-paul-saju:master

Conversation

@albin-paul-saju
Copy link

@albin-paul-saju albin-paul-saju commented Mar 18, 2026

This is for fixing #1642
I want to not import rich from tab completions so I set the environment variable TYPER_USE_RICH = false at the main file.
When I use zsh, the tab completion imports rich from this function _sanitize_help_text.
This bug is not there in bash but its there in zsh because the description is also present in zsh tab completions.

@albin-paul-saju albin-paul-saju changed the title 🔧 [Bug]: Fixing environment variable not handled in _sanitize_help_text 🔧 [Bug]: Fixing TYPER_USE_RICH environment variable not handled in _sanitize_help_text Mar 18, 2026
@svlandeg svlandeg added the bug Something isn't working label Mar 18, 2026
@svlandeg svlandeg self-assigned this Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants