aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/message_bar.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/message_bar.rs')
-rw-r--r--alacritty/src/message_bar.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/alacritty/src/message_bar.rs b/alacritty/src/message_bar.rs
index a0c821ae..988a6a31 100644
--- a/alacritty/src/message_bar.rs
+++ b/alacritty/src/message_bar.rs
@@ -3,7 +3,8 @@ use std::collections::VecDeque;
use unicode_width::UnicodeWidthChar;
use alacritty_terminal::grid::Dimensions;
-use alacritty_terminal::term::SizeInfo;
+
+use crate::display::SizeInfo;
pub const CLOSE_BUTTON_TEXT: &str = "[X]";
const CLOSE_BUTTON_PADDING: usize = 1;
@@ -186,7 +187,7 @@ impl MessageBuffer {
mod tests {
use super::*;
- use alacritty_terminal::term::SizeInfo;
+ use crate::display::SizeInfo;
#[test]
fn appends_close_button() {