summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-03-09 07:07:36 +0300
committerGrail Finder <wohilas@gmail.com>2026-03-09 07:07:36 +0300
commit0e42a6f069ceea40485162c014c04cf718568cfe (patch)
tree583a6a6cb91b315e506990a03fdda1b32d0fe985 /main.go
parent2687f38d00ceaa4f61034e3e02b9b59d08efc017 (diff)
parenta1b5f9cdc59938901123650fc0900067ac3447ca (diff)
Merge branch 'master' into feat/agent-flow
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.go b/main.go
index fe92327..ddabff8 100644
--- a/main.go
+++ b/main.go
@@ -1,13 +1,15 @@
package main
import (
+ "sync/atomic"
+
"github.com/rivo/tview"
)
var (
boolColors = map[bool]string{true: "green", false: "red"}
- botRespMode = false
- toolRunningMode = false
+ botRespMode atomic.Bool
+ toolRunningMode atomic.Bool
editMode = false
roleEditMode = false
injectRole = true