Explorar el Código

fix header width

Dax Raad hace 1 año
padre
commit
3fdd23df16
Se han modificado 1 ficheros con 1 adiciones y 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
 	shareEnabled := m.app.Config.Share != opencode.ConfigShareDisabled
 	headerText := util.ToMarkdown(
 	headerText := util.ToMarkdown(
 		"# "+m.app.Session.Title,
 		"# "+m.app.Session.Title,
-		headerWidth-len(sessionInfo),
+		headerWidth,
 		t.Background(),
 		t.Background(),
 	)
 	)