aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-05-05 23:48:43 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-05-05 23:55:31 +0200
commitb16bdca726970a721301c88b588dd7263a8655e3 (patch)
tree333ed1a9464b5d52d2d48160ee723fa4dbfa3913 /src/command
parentd011d6707c59b39dec9e83611592ee9c4b0b5a4d (diff)
downloadprofani-tty-b16bdca726970a721301c88b588dd7263a8655e3.tar.gz
ox: show ox preferences
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_ac.c1
-rw-r--r--src/command/cmd_funcs.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/command/cmd_ac.c b/src/command/cmd_ac.c
index 508c6f21..99072d8d 100644
--- a/src/command/cmd_ac.c
+++ b/src/command/cmd_ac.c
@@ -317,6 +317,7 @@ cmd_ac_init(void)
#endif
#ifdef HAVE_LIBGPGME
autocomplete_add(prefs_ac, "pgp");
+ autocomplete_add(prefs_ac, "ox");
#endif
#ifdef HAVE_OMEMO
autocomplete_add(prefs_ac, "omemo");
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 9d6441b1..f5f2bc90 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -1743,6 +1743,10 @@ cmd_prefs(ProfWin* window, const char* const command, gchar** args)
cons_show("");
cons_show_omemo_prefs();
cons_show("");
+ } else if (strcmp(args[0], "ox") == 0) {
+ cons_show("");
+ cons_show_ox_prefs();
+ cons_show("");
} else {
cons_bad_cmd_usage(command);
}