+function ventoy_pause {
+ if [ -n "${vtdebug_flag}" ]; then
+ echo "press Enter to continue ......"
+ read vtTmpPause
+ fi
+}
+
+function ventoy_debug_pause {
+ if [ -n "${vtdebug_flag}" ]; then
+ echo "press Enter to continue ......"
+ read vtTmpPause
+ fi
+}
+
+function ventoy_cli_console {
+ if [ "$grub_platform" = "pc" ]; then
+ #terminal_output vga_text
+ terminal_output console
+ else
+ if [ "$vtoy_display_mode" != "CLI" ]; then
+ terminal_output console
+ fi
+ fi
+}
+
+function ventoy_gui_console {
+ if [ "$grub_platform" = "pc" ]; then
+ if [ "$vtoy_display_mode" = "CLI" ]; then
+ terminal_output console
+ else
+ terminal_output gfxterm
+ fi
+ else
+ if [ "$vtoy_display_mode" != "CLI" ]; then
+ terminal_output gfxterm
+ fi
+ fi
+}
+