diff options
author | rabite <rabite@posteo.de> | 2019-02-16 15:01:46 +0100 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-02-16 15:01:46 +0100 |
commit | 6802a764799120a715e1498d5b14aba69439b055 (patch) | |
tree | 522c1244713317668b6a9320235e684e579dafa3 /src/miller_columns.rs | |
parent | f77178938cb015ce25fe522fa580efe6b429653e (diff) |
async v3-beta
Diffstat (limited to 'src/miller_columns.rs')
-rw-r--r-- | src/miller_columns.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/miller_columns.rs b/src/miller_columns.rs index 0abb4cb..6351e8d 100644 --- a/src/miller_columns.rs +++ b/src/miller_columns.rs @@ -1,7 +1,7 @@ use termion::event::Key; use crate::coordinates::{Coordinates, Position, Size}; -use crate::preview::AsyncPreviewer; +use crate::preview::Previewer; use crate::widget::Widget; use crate::hbox::HBox; @@ -11,7 +11,7 @@ pub struct MillerColumns<T> where T: Widget { // pub left: Option<T>, // pub main: Option<T>, //pub preview: AsyncPreviewer, - pub preview: crate::preview::LOLPreviewer, + pub preview: Previewer, pub ratio: (u16, u16, u16), pub coordinates: Coordinates, } @@ -25,7 +25,7 @@ where widgets: HBox::new(), coordinates: Coordinates::new(), ratio: (20, 30, 50), - preview: crate::preview::LOLPreviewer::new() + preview: Previewer::new() } } |