mirror of
https://github.com/gryf/tabbedalt.git
synced 2025-12-17 11:30:31 +01:00
Added warning message on passing unknown command.
This commit is contained in:
@@ -619,9 +619,13 @@ sub command {
|
||||
my ($self, $tab, $params) = @_;
|
||||
(my @args) = split(':', $params);
|
||||
my $command = shift @args;
|
||||
eval {
|
||||
$self->$command($params);
|
||||
|
||||
} or do {
|
||||
warn "Unknown tabbedalt action: $command\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sub _rename_tab_key_press {
|
||||
my ($self, $event, $keysym, $str) = @_;
|
||||
|
||||
Reference in New Issue
Block a user