WIP update tests

This commit is contained in:
Evan Almloff committed 2022-04-12 07:51:57 -05:00
1 parent 13a99bce9c
commit 92010b0bab
10 files changed
+597 -244

No files matched your search

+6 -1
View File
@@ -6,7 +6,9 @@ use crossterm::{
};
use dioxus_core::exports::futures_channel::mpsc::unbounded;
use dioxus_core::*;
use dioxus_native_core::real_dom::RealDom;
use dioxus_native_core::{
dioxus_native_core_macro::State, real_dom::RealDom, real_dom_new_api::State,
};
use futures::{
channel::mpsc::{UnboundedReceiver, UnboundedSender},
pin_mut, StreamExt,
@@ -29,6 +31,9 @@ pub use config::*;
pub use hooks::*;
pub use render::*;
#[derive(Debug, Clone, State, Default)]
struct NodeState {}
#[derive(Clone)]
pub struct TuiContext {
tx: UnboundedSender<InputEvent>,