--- deliantra/Deliantra-Client/DC/Macro.pm 2007/09/02 09:48:41 1.12 +++ deliantra/Deliantra-Client/DC/Macro.pm 2007/09/09 17:47:00 1.13 @@ -24,6 +24,7 @@ "f9" => "!toggle-setup", (map +("LAlt-$_" => "!switch-tab $_"), 0..9), (map +("RAlt-$_" => "!switch-tab $_"), 0..9), + "LAlt-x" => "!close-current-tab", "return" => "!activate-chat", "." => "!repeat-command", @@ -89,6 +90,7 @@ "toggle-setup" => sub { $::SETUP_DIALOG->toggle_visibility }, "toggle-setup" => sub { $::SETUP_DIALOG->toggle_visibility }, "switch-tab" => sub { $::MESSAGE_WINDOW->user_switch_to_page (0 + shift) }, + "close-current-tab" => sub { $::MESSAGE_WINDOW->close_current_tab }, "activate-chat" => sub { $::MESSAGE_WINDOW->activate_current }, "repeat-command" => sub { $::CONN->user_send ($::COMPLETER->{last_command})