From 8825cd38113cfd1ac225b147f52b59d9348ab0aa Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Thu, 3 Jul 2025 07:09:09 -0500 Subject: feat(tui): unshare command --- packages/tui/internal/components/chat/messages.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'packages/tui/internal/components') diff --git a/packages/tui/internal/components/chat/messages.go b/packages/tui/internal/components/chat/messages.go index a0105ec42..05fa30801 100644 --- a/packages/tui/internal/components/chat/messages.go +++ b/packages/tui/internal/components/chat/messages.go @@ -309,9 +309,12 @@ func (m *messagesComponent) header(width int) string { base := styles.NewStyle().Foreground(t.Text()).Background(t.Background()).Render muted := styles.NewStyle().Foreground(t.TextMuted()).Background(t.Background()).Render headerLines := []string{} - headerLines = append(headerLines, util.ToMarkdown("# "+m.app.Session.Title, width-6, t.Background())) + headerLines = append( + headerLines, + util.ToMarkdown("# "+m.app.Session.Title, width-6, t.Background()), + ) if m.app.Session.Share.URL != "" { - headerLines = append(headerLines, muted(m.app.Session.Share.URL)) + headerLines = append(headerLines, muted(m.app.Session.Share.URL+" /unshare")) } else { headerLines = append(headerLines, base("/share")+muted(" to create a shareable link")) } -- cgit v1.2.3