degesch: make the libedit backend work again
This commit is contained in:
parent
152ba0847d
commit
2a97c01215
|
@ -9373,6 +9373,7 @@ on_editline_display_backlog (EditLine *editline, int key)
|
||||||
(void) key;
|
(void) key;
|
||||||
|
|
||||||
display_backlog (g_ctx);
|
display_backlog (g_ctx);
|
||||||
|
return CC_NORM;
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned char
|
static unsigned char
|
||||||
|
@ -9382,6 +9383,7 @@ on_editline_display_full_log (EditLine *editline, int key)
|
||||||
(void) key;
|
(void) key;
|
||||||
|
|
||||||
display_full_log (g_ctx);
|
display_full_log (g_ctx);
|
||||||
|
return CC_NORM;
|
||||||
}
|
}
|
||||||
|
|
||||||
static unsigned char
|
static unsigned char
|
||||||
|
@ -10048,12 +10050,13 @@ main (int argc, char *argv[])
|
||||||
// At this moment we can safely call any "on_change" callbacks
|
// At this moment we can safely call any "on_change" callbacks
|
||||||
config_schema_call_changed (ctx.config.root);
|
config_schema_call_changed (ctx.config.root);
|
||||||
|
|
||||||
// Finally, we juice the configuration for some servers to create
|
// Initialize input so that we can switch to new buffers
|
||||||
load_servers (&ctx);
|
|
||||||
|
|
||||||
refresh_prompt (&ctx);
|
refresh_prompt (&ctx);
|
||||||
input_start (&ctx.input, argv[0]);
|
input_start (&ctx.input, argv[0]);
|
||||||
|
|
||||||
|
// Finally, we juice the configuration for some servers to create
|
||||||
|
load_servers (&ctx);
|
||||||
|
|
||||||
ctx.polling = true;
|
ctx.polling = true;
|
||||||
while (ctx.polling)
|
while (ctx.polling)
|
||||||
poller_run (&ctx.poller);
|
poller_run (&ctx.poller);
|
||||||
|
|
Loading…
Reference in New Issue