internal/debug: go 1.23.8 compat; use strings.Split not strings.SplitSeq

Currently build fails as go.mod uses go 1.23.8 which doesn't have
strings.SplitSeq.  Note: strings.SplitSeq was introduced in go 1.24.

Signed-off-by: Miles Alan <m@milesalan.com>
This commit is contained in:
Miles Alan
2025-05-30 21:10:53 -04:00
parent 809a6d0dc7
commit 8104d527c7
+1 -1
View File
@@ -34,7 +34,7 @@ func Parse() {
}
print := false
silent := false
for part := range strings.SplitSeq(val, ",") {
for _, part := range strings.Split(val, ",") {
switch part {
case textSubsystem:
Text.Store(true)