fixed 'new' command setting group name instead of session name

This commit is contained in:
Valerie Wolfe 2024-03-14 16:37:00 -04:00
parent 8b00f58fde
commit 7f5ad2fd1b

View file

@ -162,7 +162,7 @@ pub fn new(pargs: &mut Arguments) {
// run command // run command
new new
.group_name(title) .session_name(title)
.attach() .attach()
.start_directory(target_dir.unwrap_or(current_dir().unwrap().to_string_lossy().to_string())) .start_directory(target_dir.unwrap_or(current_dir().unwrap().to_string_lossy().to_string()))
.output().ok(); .output().ok();