mirror of
https://github.com/gryf/tabbedalt.git
synced 2025-12-17 19:40:31 +01:00
Fixed disable-default-keys behaviour
This commit is contained in:
@@ -509,8 +509,7 @@ sub init {
|
|||||||
$self->{rs_tab_act} = urxvt::SET_COLOR(urxvt::DEFAULT_RSTYLE, $active + 2, $bg + 2);
|
$self->{rs_tab_act} = urxvt::SET_COLOR(urxvt::DEFAULT_RSTYLE, $active + 2, $bg + 2);
|
||||||
$self->{rs_tab_acs} = urxvt::SET_COLOR(urxvt::DEFAULT_RSTYLE, $actives + 2, $bg + 2);
|
$self->{rs_tab_acs} = urxvt::SET_COLOR(urxvt::DEFAULT_RSTYLE, $actives + 2, $bg + 2);
|
||||||
$self->{rs_tab_acd} = urxvt::SET_COLOR(urxvt::DEFAULT_RSTYLE, $actived + 2, $bg + 2);
|
$self->{rs_tab_acd} = urxvt::SET_COLOR(urxvt::DEFAULT_RSTYLE, $actived + 2, $bg + 2);
|
||||||
$self->{set_default_keys} = ($self->x_resource('disable-default-keys')
|
$self->{set_default_keys} = (! $self->x_resource_boolean('disable-default-keys'));
|
||||||
or 'true') !~ /^(?:false|0|no)/i;
|
|
||||||
|
|
||||||
my $timeouts = $self->x_resource ("tabbar-timeouts");
|
my $timeouts = $self->x_resource ("tabbar-timeouts");
|
||||||
$timeouts = '16:.:8:::4:+' unless defined $timeouts;
|
$timeouts = '16:.:8:::4:+' unless defined $timeouts;
|
||||||
@@ -674,6 +673,7 @@ sub rename_tab {
|
|||||||
my $tab = $self->{cur};
|
my $tab = $self->{cur};
|
||||||
$tab->start_rename_tab;
|
$tab->start_rename_tab;
|
||||||
$self->refresh;
|
$self->refresh;
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub move_tab_left {
|
sub move_tab_left {
|
||||||
|
|||||||
Reference in New Issue
Block a user