diff options
author | wojciechkepka | 2021-06-20 05:15:08 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-20 10:59:26 +0000 |
commit | 0882712b4598586ce7c9b8e8f446d6a6fc5ff060 (patch) | |
tree | d0ec62d1d726ed3a377e3d1914a6cf9b0bdd0b0a /helix-view | |
parent | 980e6023523119676652b49692eb5f844d84d703 (diff) |
Use full screen size
Diffstat (limited to 'helix-view')
-rw-r--r-- | helix-view/src/tree.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-view/src/tree.rs b/helix-view/src/tree.rs index a0c466d9..f7d6c1f2 100644 --- a/helix-view/src/tree.rs +++ b/helix-view/src/tree.rs @@ -434,6 +434,10 @@ impl Tree { self.focus = key; } } + + pub fn area(&self) -> Rect { + self.area + } } #[derive(Debug)] |