aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2021-01-28 18:21:33 +0100
committerAram Drevekenin <aram@poor.dev>2021-01-28 18:21:33 +0100
commit7bb2f82fd96b8f7e5b1f65ccf276b8b9b345cbb9 (patch)
tree969be11fedcecefc6685dc2b08e6b1a31c8530cd
parentNeed to take into account the 2 chars of ', ' that also may be added! (diff)
downloadsl0ppij-7bb2f82fd96b8f7e5b1f65ccf276b8b9b345cbb9.tar.gz
sl0ppij-7bb2f82fd96b8f7e5b1f65ccf276b8b9b345cbb9.tar.xz
sl0ppij-7bb2f82fd96b8f7e5b1f65ccf276b8b9b345cbb9.zip
feat(init): set max height on startup
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 590bb3a9..0b0542fc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -12,6 +12,7 @@ register_tile!(State);
impl MosaicTile for State {
fn init(&mut self) {
set_selectable(false);
+ set_max_height(1);
}
fn draw(&mut self, _rows: usize, cols: usize) {