diff options
author | Dave Davenport <qball@gmpclient.org> | 2016-05-26 08:39:33 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2016-05-26 08:39:33 +0200 |
commit | 0e86050db8d3e20a93fada37724d9c8d59386c55 (patch) | |
tree | 835d1e58c9652b8d708a17074c6c922c74f60025 /include/mode-private.h | |
parent | 7aff2ae243f4d15875a5a6d567112400a727e642 (diff) |
Fix combi mode 'bang' behaviour, improve levenshtein with combi
Diffstat (limited to 'include/mode-private.h')
-rw-r--r-- | include/mode-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mode-private.h b/include/mode-private.h index 530827e8..31e92c98 100644 --- a/include/mode-private.h +++ b/include/mode-private.h @@ -27,6 +27,8 @@ typedef void ( *__mode_destroy )( Mode *sw ); typedef ModeMode ( *_mode_result )( Mode *sw, int menu_retv, char **input, unsigned int selected_line ); +typedef char* ( *_mode_preprocess_input )( Mode *sw, const char *input ); + /** * Structure defining a switcher. * It consists of a name, callback and if enabled @@ -57,6 +59,8 @@ struct rofi_mode /** Get the 'completed' entry. */ _mode_get_completion _get_completion; + _mode_preprocess_input _preprocess_input; + /** Pointer to private data. */ void *private_data; |