We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c235f1 commit 9846115Copy full SHA for 9846115
src/app/renderer.rs
@@ -528,7 +528,9 @@ mod tests {
528
use ratatui::Terminal;
529
use std::env;
530
fn assert_buffer(mut buffer: Buffer, terminal: &Terminal<TestBackend>) {
531
- assert_eq!(buffer.area, terminal.backend().size().unwrap());
+ let size = terminal.backend().size().unwrap();
532
+ assert_eq!(buffer.area.width, size.width);
533
+ assert_eq!(buffer.area.height, size.height);
534
for x in 0..buffer.area().width {
535
for y in 0..buffer.area().height {
536
buffer
0 commit comments