summaryrefslogtreecommitdiffstats
path: root/src/readline_callbacks.hh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/readline_callbacks.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/readline_callbacks.hh b/src/readline_callbacks.hh
index d89f4b1..65429c2 100644
--- a/src/readline_callbacks.hh
+++ b/src/readline_callbacks.hh
@@ -30,6 +30,8 @@
#ifndef LNAV_READLINE_CALLBACKS_HH
#define LNAV_READLINE_CALLBACKS_HH
+#include "readline_curses.hh"
+
void rl_set_help();
void rl_change(readline_curses* rc);
void rl_search(readline_curses* rc);
@@ -42,6 +44,9 @@ void rl_completion_request(readline_curses* rc);
void rl_focus(readline_curses* rc);
void rl_blur(readline_curses* rc);
+readline_context::split_result_t prql_splitter(readline_context& rc,
+ const std::string& cmdline);
+
extern const char* RE_HELP;
extern const char* RE_EXAMPLE;
extern const char* SQL_HELP;