Make title cyan and bold on each page
This commit is contained in:
parent
82fec3ab58
commit
26dddc43f0
5 changed files with 15 additions and 5 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
lsiommu "github.com/HikariKnight/quickpassthrough/internal/lsiommu"
|
||||
"github.com/HikariKnight/quickpassthrough/pkg/command"
|
||||
"github.com/HikariKnight/quickpassthrough/pkg/menu"
|
||||
"github.com/gookit/color"
|
||||
)
|
||||
|
||||
func genVBIOS_dumper(config *configs.Config) {
|
||||
|
@ -29,6 +30,10 @@ func genVBIOS_dumper(config *configs.Config) {
|
|||
vbios_path := lsiommu.GetIOMMU("-g", "-i", config.Gpu_Group, "--rom")[0]
|
||||
configs.GenerateVBIOSDumper(vbios_path)
|
||||
|
||||
// Write a title
|
||||
title := color.New(color.Cyan, color.Bold)
|
||||
title.Println("Generated \"dump VBIOS\" script")
|
||||
|
||||
// Tell users about the VBIOS dumper script
|
||||
fmt.Print(
|
||||
"For some GPUs, you will need to dump the VBIOS and pass the\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue