summaryrefslogtreecommitdiffstats
path: root/src/widget.rs
diff options
context:
space:
mode:
authorrabite <rabite@posteo.de>2019-02-01 01:37:16 +0100
committerrabite <rabite@posteo.de>2019-02-01 01:37:16 +0100
commit1e6719fe3368068217968fe0b637604668cb7764 (patch)
tree31e57e54794db716079bbaff2df9bc6177b942b9 /src/widget.rs
parentb7bbcff2840f5b0b0b46f9188ae45be0075f9864 (diff)
improved string handling
Diffstat (limited to 'src/widget.rs')
-rw-r--r--src/widget.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget.rs b/src/widget.rs
index 03d89c2..361c6cc 100644
--- a/src/widget.rs
+++ b/src/widget.rs
@@ -3,7 +3,7 @@ use termion::event::{Event, Key, MouseEvent};
use crate::coordinates::{Coordinates, Position, Size};
pub trait Widget {
- fn render(&self) -> Vec<String>;
+ //fn render(&self) -> Vec<String>;
fn get_size(&self) -> &Size;
fn get_position(&self) -> &Position;
fn set_size(&mut self, size: Size);