1
0
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:
2020-07-18 10:14:53 +02:00
parent 138808fb19
commit 6fc444851f

View File

@@ -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;
} }