diff options
author | Tom Feist <shabble@metavore.org> | 2011-04-14 05:28:33 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-04-14 05:28:33 +0000 |
commit | e977e0bfbb9a1db261389621e2d70815664744b7 (patch) | |
tree | 686cb2122c8a450cdf606a3541a4d1a06e6b595a /ido-mode/ido_switcher.pl | |
parent | rl_history_search: clarify copyright, bump version number and add more things... (diff) | |
download | irssi-scripts-e977e0bfbb9a1db261389621e2d70815664744b7.tar.gz irssi-scripts-e977e0bfbb9a1db261389621e2d70815664744b7.zip |
ido-mode/ido_switcher: cosmetic clean up some msglevel_* bits.
Diffstat (limited to '')
-rw-r--r-- | ido-mode/ido_switcher.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ido-mode/ido_switcher.pl b/ido-mode/ido_switcher.pl index 9f8d121..a5ab859 100644 --- a/ido-mode/ido_switcher.pl +++ b/ido-mode/ido_switcher.pl @@ -160,22 +160,25 @@ sub _print { my $win = Irssi::active_win; my $str = join('', @_); $need_clear = 1; - $win->print($str, Irssi::MSGLEVEL_NEVER); + $win->print($str, MSGLEVEL_NEVER); } sub _debug_print { return unless DEBUG; my $win = Irssi::active_win; my $str = join('', @_); - $win->print($str, Irssi::MSGLEVEL_CLIENTCRAP); + $win->print($str, MSGLEVEL_CLIENTCRAP); } sub _print_clear { return unless $need_clear; my $win = Irssi::active_win(); - $win->command('/scrollback levelclear -level NEVER'); + $win->command('/^scrollback levelclear -level NEVER'); } +# TODO: use the code from rl_history_search to put this into a disposable +# split win. +# TODO: create formats for this. sub display_help { my @message = |