aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-10-06 16:23:45 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-10-06 16:23:45 -0700
commit14741518a7fc52f110dcd5ca71216b423520b789 (patch)
tree6303e39ca1f7b06a2df9ce77e4300441e0894058 /highlight.h
parentdd91779442125ca46a434cd94cc51ae32e43bee1 (diff)
Command highlighting now works
Diffstat (limited to 'highlight.h')
-rw-r--r--highlight.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/highlight.h b/highlight.h
index ea855791..eb123258 100644
--- a/highlight.h
+++ b/highlight.h
@@ -134,5 +134,9 @@ enum
typedef unsigned int path_flags_t;
bool is_potential_path(const wcstring &const_path, const wcstring_list_t &directories, path_flags_t flags, wcstring *out_path = NULL);
+/* For testing */
+void highlight_shell_classic(const wcstring &buff, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
+void highlight_shell_magic(const wcstring &buff, std::vector<int> &color, size_t pos, wcstring_list_t *error, const env_vars_snapshot_t &vars);
+
#endif