--- deliantra/Deliantra-Client/DC/MapWidget.pm 2006/07/30 13:16:44 1.80
+++ deliantra/Deliantra-Client/DC/MapWidget.pm 2006/09/29 00:56:06 1.82
@@ -34,14 +34,7 @@
$self->{completer} = new CFPlus::MapWidget::Command::
command => $self->{command},
- tooltip => "The Command Completer\n\n"
- . "This is your central interface to send text commands to the server. "
- . "To enter a verbatim command to send to the server, just type the command, "
- . "followed by a space, and press return. "
- . "Typing the initial letters of words (or just any letters) displays guesses "
- . "for commands you might want to use.\n"
- . "You can use the cursor-up and cursor-down keys to select between those guesses.\n"
- . "Right-Click opens a menu where you cna select further options, sich as redefining key bindings.",
+ tooltip => "#completer_help",
;
$self
@@ -214,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
@@ -227,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};