From 5fbaa0171c0a114958ab806a4d28b5a9698b3061 Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Sun, 16 Dec 2012 00:07:49 +0100
Subject: [PATCH] Use inputbox to filter hints.

---
 src/command.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/command.c b/src/command.c
index a26780d..5348a40 100644
--- a/src/command.c
+++ b/src/command.c
@@ -65,7 +65,7 @@ static CommandInfo cmd_list[] = {
     {"complete",         command_complete,    {0},                                                                          VP_MODE_COMMAND | VP_MODE_COMPLETE},
     {"complete-back",    command_complete,    {1},                                                                          VP_MODE_COMMAND | VP_MODE_COMPLETE},
     {"inspect",          command_inspect,     {0},                                                                          VP_MODE_NORMAL},
-    {"hint-link",        command_hints,       {0},                                                                          VP_MODE_HINTING},
+    {"hint-link",        command_hints,       {0, "."},                                                                     VP_MODE_HINTING},
     {"hint-focus-next",  command_hints_focus, {0},                                                                          VP_MODE_HINTING},
     {"hint-focus-prev",  command_hints_focus, {1},                                                                          VP_MODE_HINTING},
 };
@@ -273,6 +273,7 @@ gboolean command_inspect(const Arg* arg)
 
 gboolean command_hints(const Arg* arg)
 {
+    command_write_input(arg->s);
     hints_create(NULL, arg->i);
 
     return TRUE;
-- 
2.20.1