From c3221f3df53f0b2c596918d4013ab6b5822106ec Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Thu, 5 Feb 2026 15:13:33 +0000 Subject: [PATCH] reduce default timeout to 100ms add env var for raw timeout --- raw.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/raw.go b/raw.go index 66a9005..a016cd2 100644 --- a/raw.go +++ b/raw.go @@ -7,9 +7,9 @@ import ( // RawCmd represents the command to send raw OSC messages to the mixer. type RawCmd struct { - Timeout time.Duration `help:"Timeout for the OSC message send operation." default:"200ms" short:"t"` - Address string `help:"The OSC address to send the message to." arg:""` - Args []string `help:"The arguments to include in the OSC message." arg:"" optional:""` + Timeout time.Duration `help:"Timeout for the OSC message send operation." default:"100ms" short:"t" env:"XAIR_CLI_RAW_TIMEOUT"` + Address string `help:"The OSC address to send the message to." arg:""` + Args []string `help:"The arguments to include in the OSC message." arg:"" optional:""` } // Run executes the RawCmd by sending the specified OSC message to the mixer and optionally waiting for a response.