mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Editor: Fix redisplay
This commit is contained in:
parent
ce508a826a
commit
f5e1f9fa63
@ -9384,7 +9384,7 @@ cmd_editor(ProfWin* window, const char* const command, gchar** args)
|
|||||||
g_string_free(text, TRUE);
|
g_string_free(text, TRUE);
|
||||||
}
|
}
|
||||||
close(fd_input_file);
|
close(fd_input_file);
|
||||||
ui_redraw();
|
|
||||||
GError* deletion_error = NULL;
|
GError* deletion_error = NULL;
|
||||||
g_file_delete (file, NULL, &deletion_error);
|
g_file_delete (file, NULL, &deletion_error);
|
||||||
if ( deletion_error ) {
|
if ( deletion_error ) {
|
||||||
@ -9392,6 +9392,9 @@ cmd_editor(ProfWin* window, const char* const command, gchar** args)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
g_object_unref(file);
|
g_object_unref(file);
|
||||||
|
ui_resize();
|
||||||
|
rl_point = rl_end;
|
||||||
|
rl_forced_update_display();
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user