mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-08-20 22:08:59 +00:00
add osc true and false types
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user