mirror of
https://github.com/gryf/tabbedalt.git
synced 2025-12-17 11:30:31 +01:00
Fixed issue with [NEW] button
This commit is contained in:
@@ -143,7 +143,7 @@ sub refresh {
|
|||||||
if ($self->{new_button}) {
|
if ($self->{new_button}) {
|
||||||
substr $text, 0, 7, "[NEW] |";
|
substr $text, 0, 7, "[NEW] |";
|
||||||
@$rend[0 .. 5] = ($self->{rs_tab}) x 6;
|
@$rend[0 .. 5] = ($self->{rs_tab}) x 6;
|
||||||
push @ofs, [0, 6, -1 ];
|
push @ofs, [0, 6, sub { $_[0]->new_tab("shell") }];
|
||||||
$ofs = 7;
|
$ofs = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user