sessionList: don't treat unrecognized text as session name

resolveFullSID returned the input text as a fallback when no session
matched, causing acme built-in commands like Del to be intercepted
and passed to openChat instead of back to acme via WriteEvent.
This commit is contained in:
Levi Neely 2026-07-20 14:07:52 +02:00
parent 2c1810b604
commit 6d0386b654
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ func (sl *sessionList) resolveFullSID(text string) string {
return sid return sid
} }
} }
return text return ""
} }
func (sl *sessionList) eventLoop() { func (sl *sessionList) eventLoop() {