At the moment if a program calls `plymouth hide-splash`
plymouth keeps the terminal in raw mode. That is wrong,
because programs call `plymouth hide-splash` specifically
so they can use the terminal.
This commit makes plymouth restore the terminal to cooked
mode so it's ready for the next program.
ply_boot_splash_hide (state->boot_splash);
- if (state->local_console_terminal != NULL)
+ if (state->local_console_terminal != NULL) {
ply_terminal_set_mode (state->local_console_terminal, PLY_TERMINAL_MODE_TEXT);
+ ply_terminal_set_buffered_input (state->local_console_terminal);
+ }
}
static void