aboutsummaryrefslogtreecommitdiffstats
path: root/history-search/rl_history_search.pl
diff options
context:
space:
mode:
Diffstat (limited to 'history-search/rl_history_search.pl')
-rw-r--r--history-search/rl_history_search.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/history-search/rl_history_search.pl b/history-search/rl_history_search.pl
index 7ce76d1..e0d73be 100644
--- a/history-search/rl_history_search.pl
+++ b/history-search/rl_history_search.pl
@@ -48,6 +48,13 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+# TODO:
+#
+# * document tab behaviour
+# * add keys (C-n/C-p) to scroll history list
+# * if list is bigger than split size, centre it so selected item is visible
+# * allow a mechanism to select by number from list
+
use strict;
use Irssi;
use Irssi::TextUI;
@@ -400,7 +407,7 @@ sub print_current_matches {
my $orig_ts_level = Irssi::parse_special('$timestamp_level');
$split_ref->command("^set timestamp_level $orig_ts_level -CLIENTCRAP");
- $split_ref->print('Current history matches. Press <esc> to close.',
+ $split_ref->print('%_Current history matches. Press <esc> to close.%_',
Irssi::MSGLEVEL_CLIENTCRAP|Irssi::MSGLEVEL_NEVER);
my $hist_entry = get_history_match();