commit 968b23082e302ba2202db1376c7af145c0272a3c
parent 5098085190261545b9e9ee1fb05ea17cbd5ce725
Author: regexghost <dev@regexghost.com>
Date: Mon, 31 Aug 2026 22:05:15 +0100
soundboard bold title and makefile update
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/terminal-scripts/Makefile b/terminal-scripts/Makefile
@@ -16,7 +16,7 @@ normal:
mv tablealigner ${BIN}/tablealigner
go build -o geohash geohash.go
mv geohash ${BIN}/geohash
- cd soundboard/; go build -o soundboard soundboard.go; mv soundboard ${BIN}/soundboard; cd ..
+ cd soundboard/; go get; go build -o soundboard soundboard.go; mv soundboard ${BIN}/soundboard; cd ..
cp tag-song.sh ${BIN}/tag-song
cp download-vids.sh ${BIN}/download-vids
cp download-pods.sh ${BIN}/download-pods
diff --git a/terminal-scripts/soundboard/soundboard.go b/terminal-scripts/soundboard/soundboard.go
@@ -85,7 +85,7 @@ func loadSounds() {
func drawSoundboard(s tcell.Screen) {
s.Clear()
- drawText(s, 0, 0, 50, 10, styles["pink"], "Soundboard")
+ drawText(s, 0, 0, 50, 10, styles["pink-bold"], "Soundboard")
for i, soundEntry := range sounds {
line := string(soundEntry.key) + ": " + soundEntry.name
drawText(s, 0, i+2, 50, 100, styles["blue"], line)
@@ -134,7 +134,7 @@ func main() {
// Use the colours to make styles and add to "styles" map
styles["white"] = tcell.StyleDefault.Background(tcell.ColorReset).Foreground(tcell.ColorReset)
styles["blue"] = tcell.StyleDefault.Background(tcell.ColorReset).Foreground(blueColour)
- styles["pink"] = tcell.StyleDefault.Background(tcell.ColorReset).Foreground(pinkColour)
+ styles["pink-bold"] = tcell.StyleDefault.Background(tcell.ColorReset).Foreground(pinkColour).Bold(true)
s.SetStyle(styles["white"])
s.Clear()