Open
Description
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:
- Open eshell, the shell inside Emacs.
- Run a rust program that invokes
crossterm::terminal::size()
- Observe that it returns Ok((0, 0))
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
Metadata
Metadata
Assignees
Labels
No labels