-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash inside eshell with memory allocation error #707
Comments
Could you share the files that caused this issue? |
Hi @Wilfred
|
With a debug build I get a more maningful error and backtrace:
That's let lhs_total_width = (terminal_width - SPACER.len()) / 2; When running in eshell, AFAICT, if let Ok((columns, _rows)) = crossterm::terminal::size() { When running in eshell, So the cause is that crossterm cannot correctly determine the size of |
Reported upstream: crossterm-rs/crossterm#891 |
Thank you all for the great works! |
Hi,
I tried difft inside eshell and got crash, just a simple diff two files:
The eshell is built-in emacs-30.0.50, and difft is the
Difftastic 0.57.0 (00e837a 2024-04-01, built with rustc 1.65.0)
.The text was updated successfully, but these errors were encountered: