Change first line to be a title on welcome screen

This commit is contained in:
HikariKnight 2023-04-08 04:58:46 +02:00
parent adada4ff4b
commit 358e81c174

View file

@ -295,8 +295,8 @@ func (m model) View() string {
case INTRO: case INTRO:
title = dialogStyle.Render( title = dialogStyle.Render(
fmt.Sprint( fmt.Sprint(
"Welcome to QuickPassthrough!\n", titleStyle.Render("Welcome to QuickPassthrough!"),
"\n", "\n\n",
"This script is meant to make it easier to setup GPU passthrough for Qemu systems.\n", "This script is meant to make it easier to setup GPU passthrough for Qemu systems.\n",
"However due to the complexity of GPU passthrough, this script assumes you know how to do (or have done) the following.\n\n", "However due to the complexity of GPU passthrough, this script assumes you know how to do (or have done) the following.\n\n",
"* You have already enabled IOMMU, VT-d, SVM and/or AMD-v\n inside your UEFI/BIOS advanced settings.\n", "* You have already enabled IOMMU, VT-d, SVM and/or AMD-v\n inside your UEFI/BIOS advanced settings.\n",