Explorar o código

fix header width

Dax Raad hai 1 ano
pai
achega
3fdd23df16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/tui/internal/components/chat/messages.go

+ 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(),
 	)