mirror of
https://github.com/gryf/tabbedalt.git
synced 2026-11-22 06:06:54 +01:00
Fixed issue with [NEW] button
This commit is contained in:
1 parent
138808fb19
commit
6fc444851f
1 file changed
+1
-1
@@ -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