summaryrefslogtreecommitdiff
path: root/internal/tmuxedit/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/tmuxedit/run.go')
-rw-r--r--internal/tmuxedit/run.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/tmuxedit/run.go b/internal/tmuxedit/run.go
index da484df..2dd5afe 100644
--- a/internal/tmuxedit/run.go
+++ b/internal/tmuxedit/run.go
@@ -1,6 +1,7 @@
package tmuxedit
import (
+ "context"
"fmt"
"log"
"os"
@@ -105,7 +106,9 @@ func Run(opts Options) error {
func loadConfig(configPath string) appconfig.App {
logger := log.New(os.Stderr, "[hexai-tmux-edit] ", log.LstdFlags)
lopts := appconfig.LoadOptions{ConfigPath: configPath}
- return appconfig.LoadWithOptions(logger, lopts)
+ // This runner has no signal-aware context of its own; the load is a quick
+ // local file read, so a background context is sufficient.
+ return appconfig.LoadWithOptions(context.Background(), logger, lopts)
}
// debugLog is the debug logger. Set to a real logger via initDebugLog().