some fine tuning

This commit is contained in:
2024-11-22 12:42:03 +01:00
parent 7f1437e779
commit 129725dce2
5 changed files with 22 additions and 30 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ use crossterm::event::Event;
pub mod app;
pub mod css;
pub mod examples;
pub mod macros;
pub mod rsx;
pub mod ui;
@@ -45,7 +46,7 @@ pub mod prelude {
pub use crate::{self as osui, css, rsx, rsx_elem, ui::*, Handler};
pub use crate::{style, Command, Document, Element, Value};
// useful for Element making
pub use crate::{run_handler, Children, ElementCore, ElementWidget};
pub use crate::{call, Children, ElementCore, ElementWidget};
pub use crossterm::event::{Event, KeyCode, KeyEvent, KeyEventKind};
pub fn sleep(ms: u64) {
std::thread::sleep(std::time::Duration::from_millis(ms));