Enha: botresp, toolresp to atomic

This commit is contained in:
Grail Finder
2026-03-08 07:13:27 +03:00
parent 23cb8f2578
commit c200c9328c
3 changed files with 25 additions and 23 deletions

View File

@@ -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