From 21bd6d9d17de3d26f97a92b17f1fd010839aa430 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 14 Mar 2024 16:20:38 -0400 Subject: [PATCH 1/3] updated termion --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6d24041..1def547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ path = "src/main.rs" [dependencies] pico-args = { version = "0.5.0", features = [ "combined-flags", "eq-separator" ] } -termion = "2.0.1" +termion = "3.0.0" tmux_interface = "0.3.2" [profile.release] From b81737c1824bfed659f55d034ba70d1740373249 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 14 Mar 2024 16:40:50 -0400 Subject: [PATCH 2/3] fixed 'new' command setting group name instead of session name --- src/command/share.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/share.rs b/src/command/share.rs index 1bf96ab..fad4a95 100644 --- a/src/command/share.rs +++ b/src/command/share.rs @@ -162,7 +162,7 @@ pub fn new(pargs: &mut Arguments) { } let mut new = commands::NewSession::new(); - new = new.group_name(title); + new = new.session_name(title); if let Some(command) = command { new.shell_command = Some(command.to_string_lossy()); } if let Ok(target_dir) = target_dir { new = new.start_directory(target_dir); } From e7ead09ad94663f386c11c0bb8c3cc7eea26c4c2 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 14 Mar 2024 17:03:33 -0400 Subject: [PATCH 3/3] fixed 'list' command showing group titles instead of session titles --- src/command/share.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/share.rs b/src/command/share.rs index fad4a95..353ae37 100644 --- a/src/command/share.rs +++ b/src/command/share.rs @@ -124,7 +124,7 @@ pub fn list() { // pretty print session list println!("sessions:"); for session in sessions.into_iter() { - let group = session.group.unwrap_or("[untitled]".to_string()); + let group = session.name.unwrap_or("[untitled]".to_string()); let id = session.id.unwrap(); let attached = session.attached.unwrap_or(0) > 0;