… | |
… | |
357 | $::CONN->macro_send ($_) for @macros; |
357 | $::CONN->macro_send ($_) for @macros; |
358 | } elsif (($sym == CFPlus::SDLK_KP_PLUS && !$mod) || $uni == ord "+") { |
358 | } elsif (($sym == CFPlus::SDLK_KP_PLUS && !$mod) || $uni == ord "+") { |
359 | $::CONN->user_send ("rotateshoottype +"); |
359 | $::CONN->user_send ("rotateshoottype +"); |
360 | } elsif (($sym == CFPlus::SDLK_KP_MINUS && !$mod) || $uni == ord "-") { |
360 | } elsif (($sym == CFPlus::SDLK_KP_MINUS && !$mod) || $uni == ord "-") { |
361 | $::CONN->user_send ("rotateshoottype -"); |
361 | $::CONN->user_send ("rotateshoottype -"); |
|
|
362 | } elsif ($uni == ord '!') { |
|
|
363 | $self->{completer}->set_prefix ("shout "); |
|
|
364 | $self->{completer}->show; |
362 | } elsif ($uni == ord '"') { |
365 | } elsif ($uni == ord '"') { |
363 | $self->{completer}->set_prefix ("$::CFG->{say_command} "); |
366 | $self->{completer}->set_prefix ("$::CFG->{say_command} "); |
364 | $self->{completer}->show; |
367 | $self->{completer}->show; |
365 | } elsif ($uni == ord "'") { |
368 | } elsif ($uni == ord "'") { |
366 | $self->{completer}->set_prefix (""); |
369 | $self->{completer}->set_prefix (""); |