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
For some terminals (for example Emacs eshell/eterm) the ioctl with
TIOCGWINSZ might falsely return 0 columns and 0 rows. If this happens
we now try to use LINES and COLUMNS environment variables.
Fixescrossterm-rs#891
Describe the bug
When running inside eshell, crossterm claims the size of the terminal is zero.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
crossterm::terminal::size()
Expected behavior
crossterm should respect the $COLUMNS and $ROWS shell variables, which are set.
OS
Arch Linux, kernel v6.8.2
Terminal/Console
eshell on Emacs 29.3
The text was updated successfully, but these errors were encountered: