From 295100f0dace7af657022b5f6287d6cce26d187c Mon Sep 17 00:00:00 2001 From: Bamidev Date: Sat, 16 Mar 2024 13:15:38 +0100 Subject: [PATCH] Updated terminal example build function. --- examples/terminal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/terminal.rs b/examples/terminal.rs index b85cae5..ad541a7 100644 --- a/examples/terminal.rs +++ b/examples/terminal.rs @@ -99,7 +99,7 @@ fn main() { bwb.size(800, 600); bwb.title("Terminal Example"); - let bw = bwb.build(&app).await; + let bw = bwb.build_async(&app).await; bw.on_message().register_async(|bw, e| async move { match e.cmd.as_str() {