diff options
| author | adamdottv <[email protected]> | 2025-05-02 09:24:24 -0500 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-05-02 15:24:47 -0500 |
| commit | 49423da081d6fdffb0bd7275e070a2edeb28e3b5 (patch) | |
| tree | 3119b731ecd46ff8ef3c26d779c0420c7dfe6c9e /internal/tui/components/chat/chat.go | |
| parent | 364cf5b429c3dd6952d45c3361765aa3898e6326 (diff) | |
| download | opencode-49423da081d6fdffb0bd7275e070a2edeb28e3b5.tar.gz opencode-49423da081d6fdffb0bd7275e070a2edeb28e3b5.zip | |
feat: compact command with auto-compact
Diffstat (limited to 'internal/tui/components/chat/chat.go')
| -rw-r--r-- | internal/tui/components/chat/chat.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/tui/components/chat/chat.go b/internal/tui/components/chat/chat.go index d6eaecec9..52c9a4f71 100644 --- a/internal/tui/components/chat/chat.go +++ b/internal/tui/components/chat/chat.go @@ -23,6 +23,8 @@ type SessionClearedMsg struct{} type EditorFocusMsg bool +type CompactSessionMsg struct{} + func header(width int) string { return lipgloss.JoinVertical( lipgloss.Top, |
