summaryrefslogtreecommitdiff
path: root/tui.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-10-21 10:44:07 +0300
committerGrail Finder <wohilas@gmail.com>2025-10-21 10:44:07 +0300
commit428c45da164e39f0b94569239e3b2796477df095 (patch)
tree3b2adfaed5b33862cf543dacbbb6c90e016985f7 /tui.go
parent6a8e854ef6dd9a3f00027cf46f6b673c6cf13ab0 (diff)
Chore: fix linter complaintsHEADmaster
Diffstat (limited to 'tui.go')
-rw-r--r--tui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tui.go b/tui.go
index 4938a01..babdfb9 100644
--- a/tui.go
+++ b/tui.go
@@ -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]