From 4d481dea7ee744f7ddfb29d6b299fa4ecb79dab5 Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Sun, 7 Sep 2025 20:24:49 -0500 Subject: [PATCH] fix: dont paste collapse if in bash mode (#2482) --- packages/tui/internal/components/chat/editor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go index e43d297b..907734a1 100644 --- a/packages/tui/internal/components/chat/editor.go +++ b/packages/tui/internal/components/chat/editor.go @@ -659,6 +659,9 @@ func (m *editorComponent) getExitKeyText() string { // shouldSummarizePastedText determines if pasted text should be summarized func (m *editorComponent) shouldSummarizePastedText(text string) bool { + if m.app.IsBashMode { + return false + } lines := strings.Split(text, "\n") lineCount := len(lines) charCount := len(text)