From b942de65e11a526bdc535a922abfc151e2b068dc Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 1 Jul 2020 11:54:18 +0530 Subject: new name, add spacing for command line --- src/app.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/app.rs b/src/app.rs index 5b1fa9d..57c489f 100644 --- a/src/app.rs +++ b/src/app.rs @@ -116,7 +116,7 @@ impl App { 0 } }; - Vec2::new(width, height) + Vec2::new(width, height + 2) } pub fn load_state() -> Self { @@ -164,7 +164,7 @@ impl View for App { i.draw(&printer.offset(offset).focused(self.focus == idx)); offset = offset.map_x(|x| x + CONFIGURATION.view_width); } - offset = offset.map_x(|_| 0).map_y(|_| self.max_size().y - 1); + offset = offset.map_x(|_| 0).map_y(|_| self.max_size().y - 3); printer.print(offset, &self.status()); } @@ -186,7 +186,7 @@ impl View for App { 0 } }; - Vec2::new(width, height) + Vec2::new(width, height + 2) } fn take_focus(&mut self, _: Direction) -> bool { -- cgit v1.2.3