aboutsummaryrefslogtreecommitdiffhomepage
path: root/reader.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-02 14:50:22 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-02 14:50:22 -0800
commitded81ec186c85d50531a8c45eab9b526dfa70fc1 (patch)
treed2b4622b24a116fca9b6bbc942e5f414720209eb /reader.h
parentcd276030c16896e0da4f0bec66f6eb1f36342f63 (diff)
Teach fish how to put completion data inside a closing quote
Diffstat (limited to 'reader.h')
-rw-r--r--reader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/reader.h b/reader.h
index ba024e86..1256c87b 100644
--- a/reader.h
+++ b/reader.h
@@ -217,5 +217,8 @@ int reader_search_mode();
/* Given a command line and an autosuggestion, return the string that gets shown to the user. Exposed for testing purposes only. */
wcstring combine_command_and_autosuggestion(const wcstring &cmdline, const wcstring &autosuggestion);
+/* Apply a completion string. Exposed for testing only. */
+wcstring completion_apply_to_command_line(const wcstring &val_str, complete_flags_t flags, const wcstring &command_line, size_t *inout_cursor_pos, bool append_only);
+
#endif