diff options
author | Akshay <nerdy@peppe.rs> | 2020-07-01 11:54:18 +0530 |
---|---|---|
committer | Akshay <nerdy@peppe.rs> | 2020-07-01 11:54:18 +0530 |
commit | b942de65e11a526bdc535a922abfc151e2b068dc (patch) | |
tree | cc81475da510150ddaf04eade65821a6512f0507 | |
parent | ad1f4564713a072264010c1547fadefd860b440b (diff) |
new name, add spacing for command line
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | src/app.rs | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -1,7 +1,7 @@ [package] -name = "track" +name = "dijo" version = "0.1.0" -authors = ["Akshay <nerdypepper@tuta.io>"] +authors = ["Akshay <nerdy@peppe.rs>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -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 { |