While trying to use binref in a non-interactive terminal session, I ran into issues with the terminal columns being 0 and causing errors.I saw the REFINERY_TERMSIZE environment variable referenced in the get_terminal_size method which would fix my issue, however it didn't actually work.
While trying to use binref in a non-interactive terminal session, I ran into issues with the terminal columns being 0 and causing errors.I saw the
REFINERY_TERMSIZE
environment variable referenced in theget_terminal_size
method which would fix my issue, however it didn't actually work.After looking at the code more in depth, I noticed this is because the correct environment variable is
REFINERY_TERM_SIZE
, which is parsed out here https://github.com/binref/refinery/blob/67b9bdfc79ab85cbaacf59b3df5f15a23ef46a11/refinery/lib/environment.py#L160This PR is to fix the docstring of the
get_terminal_size
method to reference the correct environment variable spelling.