311a312,324
> # Mod1 + N support
> # Use Mod1 + 1 .. Mod1 + 12 to activate the corresponding tab
> # If Nth tab does not exist then nothing happens
> if ($event->{state} & urxvt::Mod1Mask) {
> if ($keysym >= 0x31 or $keysym <= 0x3d) {
> my $new_idx = $keysym - 0x31;
> if ($new_idx < @{ $self->{tabs }}) {
> $self->make_current ($self->{tabs}[$new_idx]);
> }
> return 1;
> }
> }
>