about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-06-10 16:57:18 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-06-10 16:57:18 +0200
commita4deec8b8d26c7bd7312b972372b4ef3aab8eeda (patch)
treee57505671ea1f5ccdd6dd6ed53b42da3c86bf6ec /src/command
parent158cfaface1b2f09291e6b158e8a8748e84b0d7a (diff)
downloadprofani-tty-a4deec8b8d26c7bd7312b972372b4ef3aab8eeda.tar.gz
editor: dont print preview in window
See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 4f68f26c..e1108982 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -9459,8 +9459,6 @@ cmd_editor(ProfWin* window, const char* const command, gchar** args)
         if (size_read > 0 && size_read <= COUNT) {
             buf[size_read - 1] = '\0';
             GString* text = g_string_new(buf);
-            ProfWin* win = wins_get_current();
-            win_println(win, THEME_DEFAULT, "!", "EDITOR PREVIEW: %s", text->str);
             rl_insert_text(text->str);
             g_string_free(text, TRUE);
         }