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:
parent
430c80ff2a
commit
df0ea6674a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user