summaryrefslogtreecommitdiff
path: root/src/ex.c
diff options
context:
space:
mode:
authorVirgil Dupras <hsoft@hardcoded.net>2017-04-26 22:54:30 -0400
committerDaniel Carl <danielcarl@gmx.de>2017-05-07 01:31:56 +0200
commitee115b3edf9ca4f59bc3643949297e1783fd5f68 (patch)
tree44a687e11dda09a003245047850fa22122d68a3f /src/ex.c
parentd01d8b589c996ad2c6d7997b3925e7900725b1c0 (diff)
Convert old hints.c to the webkit2 era
Lots of it is still disabled, but the basic hint showing happening when pressing 'f' works.
Diffstat (limited to 'src/ex.c')
-rw-r--r--src/ex.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ex.c b/src/ex.c
index 11fd7b6..39cc60b 100644
--- a/src/ex.c
+++ b/src/ex.c
@@ -33,6 +33,7 @@
#include "config.h"
#include "ex.h"
#include "handler.h"
+#include "hints.h"
#include "history.h"
#include "main.h"
#include "map.h"
@@ -225,9 +226,7 @@ void ex_enter(Client *c)
void ex_leave(Client *c)
{
completion_clean(c);
-#if 0
- hints_clear();
-#endif
+ hints_clear(c);
}
/**
@@ -397,7 +396,7 @@ void ex_input_changed(Client *c, const char *text)
switch (*text) {
case ';': /* fall through - the modes are handled by hints_create */
case 'g':
- /* TODO create hints */
+ hints_create(c, text);
break;
case '/': /* fall through */
case '?':