diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-11-28 14:35:13 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-11-28 14:35:13 +0300 |
| commit | 4bd76fc7d5b69252f5391aab193a59f7ca82a38b (patch) | |
| tree | 97846b889835924f007ea9e6963b96ab45d9a73a /helpfuncs.go | |
| parent | 7b8505174488d9475ad3594cd355a08e1d2ba5a8 (diff) | |
| parent | 860160ea0e4d940eee43da8f20538293612093a5 (diff) | |
Diffstat (limited to 'helpfuncs.go')
| -rw-r--r-- | helpfuncs.go | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/helpfuncs.go b/helpfuncs.go index f238cd4..d73befe 100644 --- a/helpfuncs.go +++ b/helpfuncs.go @@ -209,8 +209,17 @@ func makeStatusLine() string { } else { imageInfo = "" } + + // Add shell mode status to status line + var shellModeInfo string + if shellMode { + shellModeInfo = " | [green:-:b]SHELL MODE[-:-:-]" + } else { + shellModeInfo = "" + } + statusLine := fmt.Sprintf(indexLineCompletion, botRespMode, cfg.AssistantRole, activeChatName, cfg.ToolUse, chatBody.Model, cfg.SkipLLMResp, cfg.CurrentAPI, cfg.ThinkUse, logLevel.Level(), isRecording, persona, botPersona, injectRole) - return statusLine + imageInfo + return statusLine + imageInfo + shellModeInfo } |
