@@ -64,8 +64,8 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
6464
6565 // Update textarea size to fit left pane
6666 halfWidth := m.width / 2
67- contentHeight := m.height - 4
68- m.textarea.SetWidth(halfWidth - 3) // -3 for borders and padding
67+ contentHeight := m.height - 2 // -2 for status separator and status bar
68+ m.textarea.SetWidth(halfWidth - 1) // -1 for center divider
6969 m.textarea.SetHeight(contentHeight)
7070 }
7171
@@ -90,78 +90,58 @@ func (m Model) View() string {
9090 // Split width in half for left/right panes
9191 halfWidth := m.width / 2
9292
93- // Content height = total - top border - status separator - status bar - bottom border
94- contentHeight := m.height - 4
93+ // Content height = total - status separator - status bar
94+ contentHeight := m.height - 2
9595
9696 var b strings.Builder
9797 borderStyle := lipgloss.NewStyle().Foreground(ColorBorder)
9898
99- // Top border: ╭───...───┬───...───╮
100- b.WriteString(borderStyle.Render("╭"))
101- b.WriteString(borderStyle.Render(strings.Repeat("─", halfWidth-1)))
102- b.WriteString(borderStyle.Render("┬"))
103- b.WriteString(borderStyle.Render(strings.Repeat("─", m.width-halfWidth-2)))
104- b.WriteString(borderStyle.Render("╮"))
105- b.WriteString("\n")
106-
10799 // Render textarea in left pane
108100 textareaView := m.textarea.View()
109101 textareaLines := strings.Split(textareaView, "\n")
110102
111103 // Content rows
112104 for i := 0; i < contentHeight; i++ {
113- b.WriteString(borderStyle.Render("│"))
114-
115105 // Left pane: textarea
116106 if i < len(textareaLines) {
117107 line := textareaLines[i]
118108 lineWidth := lipgloss.Width(line)
119- padding := halfWidth - 1 - lineWidth
109+ padding := halfWidth - lineWidth
120110 if padding < 0 {
121111 padding = 0
122112 }
123113 b.WriteString(line)
124114 b.WriteString(strings.Repeat(" ", padding))
125115 } else {
126- b.WriteString(strings.Repeat(" ", halfWidth-1))
116+ b.WriteString(strings.Repeat(" ", halfWidth))
127117 }
128118
129119 b.WriteString(borderStyle.Render("│"))
130120
131121 // Right pane: empty for now
132- b.WriteString(strings.Repeat(" ", m.width-halfWidth-2))
122+ b.WriteString(strings.Repeat(" ", m.width-halfWidth-1))
133123
134- b.WriteString(borderStyle.Render("│"))
135124 b.WriteString("\n")
136125 }
137126
138- // Status separator: ├───...───┴───...───┤
139- b.WriteString(borderStyle.Render("├"))
140- b.WriteString(borderStyle.Render(strings.Repeat("─", halfWidth-1)))
127+ // Status separator: ───...───┴───...───
128+ b.WriteString(borderStyle.Render(strings.Repeat("─", halfWidth)))
141129 b.WriteString(borderStyle.Render("┴"))
142- b.WriteString(borderStyle.Render(strings.Repeat("─", m.width-halfWidth-2)))
143- b.WriteString(borderStyle.Render("┤"))
130+ b.WriteString(borderStyle.Render(strings.Repeat("─", m.width-halfWidth-1)))
144131 b.WriteString("\n")
145132
146- // Status bar: │ master* │<spaces>spinner │
147- statusLeft := borderStyle.Render("│") + " master* " + borderStyle.Render("│")
133+ // Status bar: master* │<spaces>spinner
134+ statusTextStyle := lipgloss.NewStyle().Foreground(ColorGray)
135+ statusLeft := statusTextStyle.Render(" gitbranch/working dir")
148136 spinnerView := strings.TrimSpace(m.spinner.View())
149- statusRight := " " + borderStyle.Render("│")
150137 // Use lipgloss.Width for accurate display width
151138 leftWidth := lipgloss.Width(statusLeft)
152- rightWidth := lipgloss.Width(statusRight)
153139 spinnerWidth := lipgloss.Width(spinnerView)
154- spacesNeeded := m.width - leftWidth - spinnerWidth - rightWidth
140+ spacesNeeded := m.width - leftWidth - spinnerWidth - 1
155141 b.WriteString(statusLeft)
156142 b.WriteString(strings.Repeat(" ", spacesNeeded))
157143 b.WriteString(spinnerView)
158- b.WriteString(statusRight)
159- b.WriteString("\n")
160-
161- // Bottom border: ╰───...───╯
162- b.WriteString(borderStyle.Render("╰"))
163- b.WriteString(borderStyle.Render(strings.Repeat("─", m.width-2)))
164- b.WriteString(borderStyle.Render("╯"))
144+ b.WriteString(" ")
165145
166146 return b.String()
167147 }