Przeglądaj źródła

fix header width

Dax Raad 7 miesięcy temu
rodzic
commit
3fdd23df16

+ 1 - 1
packages/tui/internal/components/chat/messages.go

@@ -678,7 +678,7 @@ func (m *messagesComponent) renderHeader() string {
 	shareEnabled := m.app.Config.Share != opencode.ConfigShareDisabled
 	headerText := util.ToMarkdown(
 		"# "+m.app.Session.Title,
-		headerWidth-len(sessionInfo),
+		headerWidth,
 		t.Background(),
 	)