about summary refs log tree commit diff stats
path: root/src/command/cmd_funcs.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-04-16 23:18:19 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-04-16 23:18:19 +0200
commit19c5925c378edc12e383278561e1a2f5e2d1f597 (patch)
tree3e02393fdbf2dc8579901ff5d28c855054ee47b5 /src/command/cmd_funcs.h
parent1f4f912e78d54821ff2ebaf736afa1cd54d51cd0 (diff)
downloadprofani-tty-19c5925c378edc12e383278561e1a2f5e2d1f597.tar.gz
editor: make editor configurable via /executable
`/executable set editor /full/path/to/edit`.

Regards https://github.com/profanity-im/profanity/issues/1521
Diffstat (limited to 'src/command/cmd_funcs.h')
-rw-r--r--src/command/cmd_funcs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/cmd_funcs.h b/src/command/cmd_funcs.h
index f4ca72ed..a2c5f8f3 100644
--- a/src/command/cmd_funcs.h
+++ b/src/command/cmd_funcs.h
@@ -241,6 +241,7 @@ gboolean cmd_url_save(ProfWin* window, const char* const command, gchar** args);
 gboolean cmd_executable_avatar(ProfWin* window, const char* const command, gchar** args);
 gboolean cmd_executable_urlopen(ProfWin* window, const char* const command, gchar** args);
 gboolean cmd_executable_urlsave(ProfWin* window, const char* const command, gchar** args);
+gboolean cmd_executable_editor(ProfWin* window, const char* const command, gchar** args);
 gboolean cmd_mam(ProfWin* window, const char* const command, gchar** args);
 gboolean cmd_editor(ProfWin* window, const char* const command, gchar** args);