mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 18:03:23 +00:00
Move auto close and show history option processing into module
This commit is contained in:
parent
3416ab1288
commit
dbfa2733fd
2 changed files with 7 additions and 4 deletions
|
@ -284,6 +284,10 @@ sub getopts {
|
|||
$self->parent->config->{terminal_font} = $self->font if ($self->font);
|
||||
$self->parent->config->{terminal_args} = $self->term_args if ($self->term_args);
|
||||
|
||||
$self->parent->config->{show_history} = 1 if($self->show_history);
|
||||
|
||||
$self->parent->config->{auto_close} = $self->autoclose if($self->autoclose);
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue