diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-22 12:13:27 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-22 12:13:27 +0300 |
| commit | 733036ed8bb3540f261ad238525914a00e24637c (patch) | |
| tree | 6043dfab2fa58ace5f3c7d0bebab26028bd40c04 /tui.go | |
| parent | fc1b89b26356c2704607db6d52fb29b202fe2959 (diff) | |
| parent | bc49f37dce78f24f62eee1b4d5c8e41a3a38048a (diff) | |
Merge branch 'master' into doc/tutorial
Diffstat (limited to 'tui.go')
| -rw-r--r-- | tui.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1254,7 +1254,6 @@ func init() { // cannot send msg in editMode or botRespMode if event.Key() == tcell.KeyEscape && !editMode && !botRespMode { msgText := textArea.GetText() - if shellMode && msgText != "" { // In shell mode, execute command instead of sending to LLM executeCommandAndDisplay(msgText) @@ -1262,7 +1261,7 @@ func init() { return nil } else if !shellMode { // Normal mode - send to LLM - nl := "\n" + nl := "\n\n" // keep empty lines between messages prevText := textView.GetText(true) persona := cfg.UserRole // strings.LastIndex() |
