1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00

examples: ensure target stopped by waiting for enter from user

This commit is contained in:
Dmitry Sharshakov 2021-09-04 19:36:36 +03:00
parent 430c80ff2a
commit df0ea6674a
2 changed files with 10 additions and 0 deletions

@ -82,6 +82,11 @@ pub async fn main() -> Result<()> {
println!("configurationDone: {:?}", client.configuration_done().await);
let mut _in = String::new();
std::io::stdin()
.read_line(&mut _in)
.expect("Failed to read line");
let threads = client.threads().await?;
println!("threads: {:#?}", threads);
let bt = client

@ -84,6 +84,11 @@ pub async fn main() -> Result<()> {
println!("configurationDone: {:?}", client.configuration_done().await);
let mut _in = String::new();
std::io::stdin()
.read_line(&mut _in)
.expect("Failed to read line");
let threads = client.threads().await?;
println!("threads: {:#?}", threads);
let bt = client