Add quote autocompletion for previous messages
Fixes https://github.com/profanity-im/profanity/issues/1649 Type `>` then press tab or shift tab to autocomplete previous messages, then type your reply and send message. Newlines are replaced with newline followed by `> `. A newline is added at the end so that the user can immediately type a message without manually adding a new line.
This commit is contained in:
@@ -102,5 +102,7 @@ void win_close_reset_search_attempts(void);
|
||||
|
||||
void wins_add_urls_ac(const ProfWin* const win, const ProfMessage* const message);
|
||||
char* wins_get_url(const char* const search_str, gboolean previous, void* context);
|
||||
void wins_add_quotes_ac(const ProfWin* const win, const char* const message);
|
||||
char* wins_get_quote(const char* const search_str, gboolean previous, void* context);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user