From b81737c1824bfed659f55d034ba70d1740373249 Mon Sep 17 00:00:00 2001 From: Valerie Date: Thu, 14 Mar 2024 16:40:50 -0400 Subject: [PATCH] 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); }