summaryrefslogtreecommitdiff
path: root/helpfuncs.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-27 20:03:47 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-27 20:03:47 +0300
commit5b1cbb46faf4c082c95b9e61d62b790defecd06a (patch)
treebceda102bce26afe04ec60e6dc36050f3ae816f5 /helpfuncs.go
parent1fcab8365e8bdcf5658bfa601916e074a39a71e7 (diff)
Chore: linter complaints
Diffstat (limited to 'helpfuncs.go')
-rw-r--r--helpfuncs.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/helpfuncs.go b/helpfuncs.go
index f47fdd1..b24697a 100644
--- a/helpfuncs.go
+++ b/helpfuncs.go
@@ -15,8 +15,6 @@ import (
"time"
"unicode"
- "math/rand/v2"
-
"github.com/rivo/tview"
)
@@ -375,16 +373,6 @@ func makeStatusLine() string {
return statusLine + imageInfo + shellModeInfo
}
-var letters = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")
-
-func randString(n int) string {
- b := make([]rune, n)
- for i := range b {
- b[i] = letters[rand.IntN(len(letters))]
- }
- return string(b)
-}
-
// set of roles within card definition and mention in chat history
func listChatRoles() []string {
currentChat, ok := chatMap[activeChatName]