aboutsummaryrefslogtreecommitdiffstats
path: root/history-search
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-04-13 08:29:09 +0000
committerTom Feist <shabble@metavore.org>2011-04-13 08:29:09 +0000
commitec8a62c0225133a60396b81a38c46885134f306c (patch)
tree6cb49d3edcc8b37c4a3e6ebd516d492b1d7f5624 /history-search
parentredir-input: test of some internal callback stuff. Which doesn't work. Ho Hum. (diff)
downloadirssi-scripts-ec8a62c0225133a60396b81a38c46885134f306c.tar.gz
irssi-scripts-ec8a62c0225133a60396b81a38c46885134f306c.zip
rl_history_search: make split info text bold
Diffstat (limited to '')
-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();