about summary refs log tree commit diff stats
path: root/apidocs/c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-10 22:28:23 +0100
committerJames Booth <boothj5@gmail.com>2016-10-10 22:28:23 +0100
commitdcc2123ec4d2210c8631b181cae9d817504e8b48 (patch)
treea8bb9c746aa6b2739e0ef6af9ce01f9966bff1bd /apidocs/c
parentd485588a07f9d4a477a7615fee926fcfee44b29e (diff)
downloadprofani-tty-dcc2123ec4d2210c8631b181cae9d817504e8b48.tar.gz
Allow filepath autocompletion in plugins
closes #858
Diffstat (limited to 'apidocs/c')
-rw-r--r--apidocs/c/profapi.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apidocs/c/profapi.h b/apidocs/c/profapi.h
index 6e625f2c..5a8a11cb 100644
--- a/apidocs/c/profapi.h
+++ b/apidocs/c/profapi.h
@@ -94,6 +94,13 @@ Remove all values from autocompletion for a command, or command argument.
 void prof_completer_clear(const char *key);
 
 /**
+Add filepath autocompletion for a command, or command argument.
+
+@param prefix the prefix from which filepath autocompletion will be triggered
+*/
+void prof_filepath_completer_add(const char *prefix);
+
+/**
 Send a desktop notification.
 @param message the message to display in the notification
 @param timeout_ms the length of time before the notification disappears in milliseconds