add osc true and false types

This commit is contained in:
2024-10-21 14:30:44 -05:00
parent 5dc08cd907
commit 1de7be013e
+4
View File
@@ -78,6 +78,10 @@ func argToTypedArg(rawArg string, oscType string) any {
panic(err)
}
return float64(number)
case "T":
return true
case "F":
return false
default:
fmt.Print("unhandled osc type: ")
fmt.Printf("%s.\n", oscType)