Refine the title to use hiblue background and white text

This commit is contained in:
HikariKnight 2023-11-04 22:08:46 +01:00
parent 26dddc43f0
commit 5d98813402
5 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ func Welcome() {
command.Clear()
// Write title
title := color.New(color.Cyan, color.Bold)
title := color.New(color.BgHiBlue, color.White, color.Bold)
title.Println("Welcome to Quickpassthrough!")
// Write welcome message

View file

@ -53,7 +53,7 @@ func viewGPU(config *configs.Config, ext ...int) {
group := lsiommu.GetIOMMU("-g", mode, "-i", config.Gpu_Group, "-F", "vendor:,prod_name,optional_revision:,device_id")
// Write a title
title := color.New(color.Cyan, color.Bold)
title := color.New(color.BgHiBlue, color.White, color.Bold)
title.Println("This list should only show devices related to your GPU (usually 1 video, 1 audio device)")
// Print all the gpus

View file

@ -31,7 +31,7 @@ func genVBIOS_dumper(config *configs.Config) {
configs.GenerateVBIOSDumper(vbios_path)
// Write a title
title := color.New(color.Cyan, color.Bold)
title := color.New(color.BgHiBlue, color.White, color.Bold)
title.Println("Generated \"dump VBIOS\" script")
// Tell users about the VBIOS dumper script

View file

@ -15,7 +15,7 @@ func disableVideo(config *configs.Config) {
command.Clear()
// Write a title
title := color.New(color.Cyan, color.Bold)
title := color.New(color.BgHiBlue, color.White, color.Bold)
title.Println("Do you want to disable video output on the VFIO card in Linux?")
fmt.Print(

View file

@ -53,7 +53,7 @@ func viewUSB(id string, config *configs.Config, ext ...int) {
group := lsiommu.GetIOMMU("-u", mode, "-i", id, "-F", "vendor:,prod_name,optional_revision:,device_id")
// Write a title
title := color.New(color.Cyan, color.Bold)
title := color.New(color.BgHiBlue, color.White, color.Bold)
title.Println("This list should only show the USB controller")
// Print all the usb controllers