refactor: Remove unused ASCII art generation function for snapshots
This commit is contained in:
@@ -1473,86 +1473,4 @@ func (c *CLI) captureAndDisplaySnapshot(ctx context.Context) {
|
|||||||
fmt.Printf("✅ Snapshot saved to %s\n", filename)
|
fmt.Printf("✅ Snapshot saved to %s\n", filename)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
func generateDemoASCII(quality string) string {
|
|
||||||
low := `
|
|
||||||
████████████████████████████████████
|
|
||||||
████ SNAPSHOT (ASCII) ████
|
|
||||||
████████████████████████████████████
|
|
||||||
@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@ @@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@ @@ @@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@ @@@ @@@@@@@@@@@@@@@@@@@@
|
|
||||||
@ @@@ @@@@@@@ @@@@@@@@@@@
|
|
||||||
@ @@@ @@@@@@@ @@@@@@@@@@@
|
|
||||||
@@@@@@@@ @@@@@@@@@@@@
|
|
||||||
@@@@@ @@@ @@@@@@@@@
|
|
||||||
@@ @@@@@ @@@@@@@@
|
|
||||||
@ @@@@@ @@ @@@@@@@@
|
|
||||||
@@@ @@@ @@@@@@@@
|
|
||||||
@@@ @ @@@@@@@@@
|
|
||||||
@@@ @@@@@@@@@@@@
|
|
||||||
@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
`
|
|
||||||
high := `
|
|
||||||
████████████████████████████████████████████████████████
|
|
||||||
████ SNAPSHOT ASCII DEMO (High Quality) ████████
|
|
||||||
████████████████████████████████████████████████████████
|
|
||||||
@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@ @@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@ @@@ @@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@ @@@ @@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@ @@@ @@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@ @@@@@ @@@@@@@@@@@@@@@@@@
|
|
||||||
@ @@@@@ @@ @@@@@@@@@@@@@@@@
|
|
||||||
@@@ @@@ @@@@@@@@@@@@
|
|
||||||
@@@ @ @@@@@@@@@
|
|
||||||
@@@ @@@@@@@@@@@@
|
|
||||||
@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
`
|
|
||||||
block := `
|
|
||||||
███████████████████████████████████
|
|
||||||
███ Demo: Block Characters ███████
|
|
||||||
███████████████████████████████████
|
|
||||||
▓▓▓░░░░░ ░░░░░░░░▓▓▓▓▓▓▓▓▓▓
|
|
||||||
▓▓░░░░░ ░░░░░░░░░░░▓▓▓▓▓▓▓▓
|
|
||||||
▓░░░ ░░░░░░░░░░░░░░░░▓▓▓▓▓▓
|
|
||||||
░░░░░░░░░░░░░░░░░░░░░░░▓▓▓▓
|
|
||||||
░░░░░░░░░░░░░░░░░░░░░░░░▓▓▓
|
|
||||||
░░░░░░░░░░░░░░░░░░░░░░░░░▓▓
|
|
||||||
`
|
|
||||||
med := `
|
|
||||||
████████████████████████████████████████████
|
|
||||||
████ SNAPSHOT ASCII PREVIEW ████████
|
|
||||||
████████████████████████████████████████████
|
|
||||||
@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@@@ @@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@@ @@ @@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@@ @@@ @@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
@ @@@ @@@@@@@ @@@@@@@@@@@@@@@
|
|
||||||
@@@@@@@@ @@@@@@@@@@@@@@
|
|
||||||
@@@@@ @@@ @@@@@@@@@
|
|
||||||
@@ @@@@@ @@@@@@
|
|
||||||
@ @@@@@ @@ @@@@
|
|
||||||
@@@ @@@ @@@
|
|
||||||
@@@ @ @@@@@
|
|
||||||
@@@@@@@@@@@@@@
|
|
||||||
@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
`
|
|
||||||
switch quality {
|
|
||||||
case "1":
|
|
||||||
return low
|
|
||||||
case "3":
|
|
||||||
return high
|
|
||||||
case "4":
|
|
||||||
return block
|
|
||||||
default:
|
|
||||||
return med
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user