--- deliantra/Deliantra-Client/DC/MapWidget.pm 2006/08/13 15:14:17 1.81 +++ deliantra/Deliantra-Client/DC/MapWidget.pm 2006/09/29 00:56:06 1.82 @@ -207,10 +207,11 @@ }); $::BIND_EDITOR->start; $::BIND_EDITOR->show; - } elsif ($sym == CFPlus::SDLK_INSERT && not ($mod & CFPlus::KMOD_CTRL)) { - $::BIND_EDITOR->stop; - $::BIND_EDITOR->ask_for_bind_and_commit; - $::BIND_EDITOR->hide; +#TODO: elmex, what was this supposed to do? it currently crashes the client. +# } elsif ($sym == CFPlus::SDLK_INSERT && not ($mod & CFPlus::KMOD_CTRL)) { +# $::BIND_EDITOR->stop; +# $::BIND_EDITOR->ask_for_bind_and_commit; +# $::BIND_EDITOR->hide; } elsif (!$::CONN) { return 0; # bindings further down need a valid connection @@ -220,6 +221,8 @@ $::CONN->user_send ("take"); } elsif ($uni == ord " ") { $::CONN->user_send ("apply"); + } elsif ($uni == 13) { + $::CONN->user_send ("examine"); } elsif ($uni == ord ".") { $::CONN->user_send ($self->{completer}{last_command}) if exists $self->{completer}{last_command};