diff options
author | Jeff Zhao <jeff.no.zhao@gmail.com> | 2021-06-21 10:32:07 -0400 |
---|---|---|
committer | Jeff Zhao <jeff.no.zhao@gmail.com> | 2021-06-21 10:46:47 -0400 |
commit | 58ad2824f631dcf8ff2a3f267733ffc0c302b3b3 (patch) | |
tree | 5d8b805c2eba9f3d3c7dd218e37ae524efc4e0d8 /src/ui/views/tui_worker_view.rs | |
parent | 0b5f098109c3dc8c488d5d8e6eee06e278f2ce4e (diff) |
refactor previewing code
- event.rs is moved out of utils as its an integral part of the codebase
- load_child.rs has been replaced with preview module
- moved previewing logic inside run.rs instead of spreading it across multiple
commands
Diffstat (limited to 'src/ui/views/tui_worker_view.rs')
-rw-r--r-- | src/ui/views/tui_worker_view.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/views/tui_worker_view.rs b/src/ui/views/tui_worker_view.rs index 387b279..91388bf 100644 --- a/src/ui/views/tui_worker_view.rs +++ b/src/ui/views/tui_worker_view.rs @@ -3,9 +3,9 @@ use termion::event::{Event, Key}; use tui::layout::Rect; use crate::context::AppContext; +use crate::event::AppEvent; use crate::ui::widgets::{TuiTopBar, TuiWorker}; use crate::ui::TuiBackend; -use crate::util::event::AppEvent; use crate::util::input; pub struct TuiWorkerView {} |