Chore: fix linter complaints

This commit is contained in:
Grail Finder
2025-10-21 10:44:07 +03:00
parent 6a8e854ef6
commit 428c45da16
6 changed files with 35 additions and 36 deletions

2
tui.go
View File

@@ -950,7 +950,7 @@ func init() {
persona = cfg.WriteNextMsgAs
}
// check if plain text
if injectRole == false {
if !injectRole {
matches := roleRE.FindStringSubmatch(msgText)
if len(matches) > 1 {
persona = matches[1]