1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

editor: dont print preview in window

See https://github.com/profanity-im/profanity/issues/1521#issue-860017824
This commit is contained in:
Michael Vetter 2021-06-10 16:57:18 +02:00
parent 158cfaface
commit a4deec8b8d

View File

@ -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);
}