aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display.rs b/src/display.rs
index 5f5dd688..c2636e7e 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -177,8 +177,8 @@ impl Display {
// Resize window to specified dimensions
let dimensions = options.dimensions()
.unwrap_or_else(|| config.dimensions());
- let width = cell_width * dimensions.columns_u32() + 4;
- let height = cell_height * dimensions.lines_u32() + 4;
+ let width = cell_width * dimensions.columns_u32();
+ let height = cell_height * dimensions.lines_u32();
let size = Size { width: Pixels(width), height: Pixels(height) };
info!("set_inner_size: {}", size);