diff options
author | rabite <rabite@posteo.de> | 2019-01-22 21:05:06 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-01-22 21:05:06 +0100 |
commit | ab9baf17f110622391d143122195e2b82acc7d10 (patch) | |
tree | cb3fc15e8a51b78b012bb78f9bd9693b1618abc9 /src/widget.rs | |
parent | 00c2eb8e461d135b33756da79009df3d7c1bc8ff (diff) |
basic browsing working
Diffstat (limited to 'src/widget.rs')
-rw-r--r-- | src/widget.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widget.rs b/src/widget.rs index c9012c9..da98f60 100644 --- a/src/widget.rs +++ b/src/widget.rs @@ -1,5 +1,6 @@ use termion::event::{Key, MouseEvent, Event}; + pub trait Widget { fn render(&self) -> Vec<String>; fn get_dimensions(&self) -> (u16, u16); |