mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-02 17:33:23 +00:00
Move tiling and auto quit option processing into module
This commit is contained in:
parent
dbfa2733fd
commit
3987586e3f
1 changed files with 8 additions and 0 deletions
|
@ -288,6 +288,14 @@ sub getopts {
|
|||
|
||||
$self->parent->config->{auto_close} = $self->autoclose if($self->autoclose);
|
||||
|
||||
if ( $self->autoquit) {
|
||||
$self->parent->config->{auto_quit} = ! $self->parent->config->{auto_quit} || 0;
|
||||
}
|
||||
|
||||
if ( $self->tile) {
|
||||
$self->parent->config->{window_tiling} = ! $self->parent->config->{window_tiling} || 0;
|
||||
}
|
||||
|
||||
return $self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue