ply_list_t *views;
ply_boot_splash_display_type_t state;
ply_list_t *messages;
+
+ ply_buffer_t *boot_buffer;
};
static view_t *
ply_terminal_activate_vt (terminal);
ply_list_append_data (plugin->views, view);
+
+ if (plugin->boot_buffer != NULL) {
+ size_t size;
+ const char *bytes;
+
+ size = ply_buffer_get_size (plugin->boot_buffer);
+ bytes = ply_buffer_get_bytes (plugin->boot_buffer);
+ view_write (view, bytes, size);
+ }
}
static void
plugin);
if (boot_buffer) {
- size = ply_buffer_get_size (boot_buffer);
+ plugin->boot_buffer = boot_buffer;
+ size = ply_buffer_get_size (boot_buffer);
write_on_views (plugin, ply_buffer_get_bytes (boot_buffer), size);
}