diff --git a/degesch.c b/degesch.c index bfd3802..2485170 100644 --- a/degesch.c +++ b/degesch.c @@ -2759,6 +2759,8 @@ buffer_remove (struct app_context *ctx, struct buffer *buffer) static void buffer_print_backlog (struct app_context *ctx, struct buffer *buffer) { + // The prompt can take considerable time to redraw + input_hide (&ctx->input); print_status ("%s", buffer->name); // That is, minus the buffer switch line and the readline prompt @@ -2774,6 +2776,7 @@ buffer_print_backlog (struct app_context *ctx, struct buffer *buffer) buffer->highlighted = false; refresh_prompt (ctx); + input_show (&ctx->input); } static void