hatch
hatch copied to clipboard
Unfortunate default environments display in narrow terminals
When running hatch env show in a narrow terminal, I got the following output. I think the default focuses on the wrong columns. I definitely always want to see the Name column.
Standalone
┏┳┳━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━┳┓
┃┃┃ Dependencies ┃ Environment variables ┃ … ┃┃
┡╇╇━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━╇┩
│││ │ │ ││
├┼┼─────────────────────────┼────────────────────────────────────────────────────────────┼───┼┤
│││ dagster-webserver~=1.7 │ DAGSTER_HOME=/home/my/very/long/absolute/project/path… │ … ││
├┼┼─────────────────────────┼────────────────────────────────────────────────────────────┼───┼┤
│││ pydoclint │ │ … ││
│││ ruff │ │ … ││
│││ │ │ … ││
├┼┼─────────────────────────┼────────────────────────────────────────────────────────────┼───┼┤
│││ safety │ │ … ││
├┼┼─────────────────────────┼────────────────────────────────────────────────────────────┼───┼┤
│││ mypy │ │ … ││
├┼┼─────────────────────────┼────────────────────────────────────────────────────────────┼───┼┤
│││ mkdocs-awesome-pages-p… │ │ … ││
│││ mkdocs-material~=9.5 │ │ … ││
│││ mkdocstrings[python]~=… │ │ ││
├┼┼─────────────────────────┼────────────────────────────────────────────────────────────┼───┼┤
│││ pip │ │ … ││
│││ twine │ │ ││
└┴┴─────────────────────────┴────────────────────────────────────────────────────────────┴───┴┘
the output definitely sucks, sorry about that. do you have any idea if the issue is with code here or in Rich?
If you haven't done anything special, my guess is rich.