@@ -26,9 +26,14 @@ var (
2626 Set("TERM", os.Getenv("TERM")).
2727 Set("SHELL", filepath.Base(os.Getenv("SHELL"))).
2828 Set("Version", version.Version).
29− Set("GoVersion", runtime.Version())
29+ Set("GoVersion", runtime.Version()).
30+ Set("Interactive", false)
3031)
3132
33+func SetInteractive(interactive bool) {
34+ baseProps = baseProps.Set("interactive", interactive)
35+}
36+
3237func Init() {
3338 c, err := posthog.NewWithConfig(key, posthog.Config{
3439 Endpoint: endpoint,