1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Added autocomplete for version checking parameter

This commit is contained in:
James Booth 2012-10-24 01:39:52 +01:00
parent 2ca8f5b62e
commit 8322c48d3e
2 changed files with 3 additions and 0 deletions

View File

@ -617,6 +617,7 @@ _cmd_help(const char * const inp, struct cmd_help_t help)
static gboolean static gboolean
_cmd_about(const char * const inp, struct cmd_help_t help) _cmd_about(const char * const inp, struct cmd_help_t help)
{ {
cons_show("");
cons_about(); cons_about();
return TRUE; return TRUE;
} }

View File

@ -372,6 +372,8 @@ _handle_edit(const int ch, char *input, int *size)
prefs_autocomplete_boolean_choice); prefs_autocomplete_boolean_choice);
_parameter_autocomplete(input, size, "/history", _parameter_autocomplete(input, size, "/history",
prefs_autocomplete_boolean_choice); prefs_autocomplete_boolean_choice);
_parameter_autocomplete(input, size, "/vercheck",
prefs_autocomplete_boolean_choice);
return 1; return 1;