Skip to content

Commit

Permalink
fix: don't output test title
Browse files Browse the repository at this point in the history
  • Loading branch information
willothy committed Aug 31, 2023
1 parent baa62f4 commit 0639361
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ async fn exec_session(
program: String,
) -> Result<ExitKind> {
std::env::set_var("SESH_NAME", &name);
std::io::stdout().write_all(format!("\x1B]0;{}\x07", "test").as_bytes())?;
let mut tty_output = get_tty()
.context("Failed to get tty")?
.into_raw_mode()
Expand Down Expand Up @@ -743,9 +742,10 @@ async fn select_session(mut ctx: Ctx) -> Result<Option<String>> {
.default(0)
.report(true)
.with_prompt("Session")
.interact_opt() else {
return Ok(Some(success!("[cancelled]")));
};
.interact_opt()
else {
return Ok(Some(success!("[cancelled]")));
};

let Some(name) = sessions.get(select) else {
return Err(anyhow::anyhow!("Invalid selection"));
Expand Down

0 comments on commit 0639361

Please sign in to comment.