You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This works great, even in tmux, but when launched through overmind or hivemind:
I tried exporting COLUMNS to the correct value for my current terminal, just to see what would happen:
This value seems to be picked up by Rich, since running the command directly still works, and the Python command in hivemind now thinks it has 123 columns to work with even though hivemind itself eats some of those. It has no effect when running the command using overmind.
It seems like the terminal size isn't being correctly forwarded to the Python process.
Should this be working? If yes, how can I troubleshoot this further?
I'm using kitty 0.26.5, $TERM is set to xterm-kitty. I also tested with xfce4-terminal with $TERM set to xterm-256color and the result was identical.
Example Python application to reproduce the problem:
I'm using Python's Rich library to show log output while I'm developing. This library uses the terminal width to place certain information at the very right edge of the screen.
This works great, even in tmux, but when launched through overmind or hivemind:
I tried exporting
COLUMNS
to the correct value for my current terminal, just to see what would happen:This value seems to be picked up by Rich, since running the command directly still works, and the Python command in hivemind now thinks it has 123 columns to work with even though hivemind itself eats some of those. It has no effect when running the command using overmind.
It seems like the terminal size isn't being correctly forwarded to the Python process.
Should this be working? If yes, how can I troubleshoot this further?
I'm using kitty 0.26.5,
$TERM
is set toxterm-kitty
. I also tested withxfce4-terminal
with$TERM
set toxterm-256color
and the result was identical.Example Python application to reproduce the problem:
pyproject.toml
:test.py
:Procfile
:test: poetry run python test.py
The text was updated successfully, but these errors were encountered: