next_page tabular tui did not know about COLUMNS AND LINES #693
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It seems like
fzf
does not pass those env variables when invoking reload(...) shells. That leads to messing up the tabular layout when in terminal and triggering a reload because then the default values 80 and 25 are assigned, which is different (in my case) from the actual available columns and lines.Pass
TTY_COLS
andTTY_LINES
to the env in reload(...) invocations ofytfzf
and fallback to those values when defining from COLUMNS and LINES.Introduce private functions
_init_video_info_text
and_post_video_info_text
to be consistent in all invocations of reload(...) shells._init_video_info_text is passed
TTY_COLS
as first param to account for difference betweeninterface_text
andinterface_ext
.