fixed 'new' command setting group name instead of session name
This commit is contained in:
parent
21bd6d9d17
commit
b81737c182
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ pub fn new(pargs: &mut Arguments) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut new = commands::NewSession::new();
|
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 Some(command) = command { new.shell_command = Some(command.to_string_lossy()); }
|
||||||
if let Ok(target_dir) = target_dir { new = new.start_directory(target_dir); }
|
if let Ok(target_dir) = target_dir { new = new.start_directory(target_dir); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue