fmt
This commit is contained in:
1 parent
ef14f78e08
commit
55fa2e7893
2 files changed
+16
-12
No files matched your search
@@ -2882,10 +2882,12 @@ mod test {
|
||||
);
|
||||
assert_eq!(
|
||||
parse('t', &[6, 15, 7], "\x1b[6;15;7t"),
|
||||
vec![CSI::Window(Box::new(Window::ReportCellSizePixelsResponse {
|
||||
width: Some(7),
|
||||
height: Some(15)
|
||||
}))]
|
||||
vec![CSI::Window(Box::new(
|
||||
Window::ReportCellSizePixelsResponse {
|
||||
width: Some(7),
|
||||
height: Some(15)
|
||||
}
|
||||
))]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -795,14 +795,16 @@ mod test {
|
||||
fn checksum_area() {
|
||||
assert_eq!(
|
||||
round_trip_parse("\x1b[1;2;3;4;5;6*y"),
|
||||
vec![Action::CSI(CSI::Window(Box::new(Window::ChecksumRectangularArea {
|
||||
request_id: 1,
|
||||
page_number: 2,
|
||||
top: OneBased::new(3),
|
||||
left: OneBased::new(4),
|
||||
bottom: OneBased::new(5),
|
||||
right: OneBased::new(6),
|
||||
})))]
|
||||
vec![Action::CSI(CSI::Window(Box::new(
|
||||
Window::ChecksumRectangularArea {
|
||||
request_id: 1,
|
||||
page_number: 2,
|
||||
top: OneBased::new(3),
|
||||
left: OneBased::new(4),
|
||||
bottom: OneBased::new(5),
|
||||
right: OneBased::new(6),
|
||||
}
|
||||
)))]
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user