File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 1.7.4 (2025-09-11)
2+
3+ ### Fixed
4+ - Fix text replication issue when resizing terminal window
5+ - Fix task name coloring issues when text wraps by using MaxWidth and Render methods
6+
7+ ### Changed
8+ - Remove pagination heading "Flow timer setup (1/4)" from flow timer form
9+ - Simplify description field title and placeholder text for better readability
10+
111## 1.7.3 (2025-09-11)
212
313### Fixed
Original file line number Diff line number Diff line change 88 <a href =" https://goreportcard.com/report/github.com/ronilaukkarinen/focus " ><img src =" https://goreportcard.com/badge/github.com/ronilaukkarinen/focus " alt =" GoReportCard " ></a >
99 <a href =" https://github.com/ronilaukkarinen/focus " ><img src =" https://img.shields.io/badge/go-1.24-blue.svg " alt =" Go version " ></a >
1010 <a href =" https://github.com/ronilaukkarinen/focus/blob/master/LICENCE " ><img src =" https://img.shields.io/github/license/ronilaukkarinen/focus.svg " alt =" LICENCE " ></a >
11- <a href =" https://github.com/ronilaukkarinen/focus/releases/ " ><img src =" https://img.shields.io/badge/version-1.7.3 -blue.svg " alt =" Latest release " ></a >
11+ <a href =" https://github.com/ronilaukkarinen/focus/releases/ " ><img src =" https://img.shields.io/badge/version-1.7.4 -blue.svg " alt =" Latest release " ></a >
1212</p >
1313
1414<h1 align =" center " >Focus on your task - with flow timer!</h1 >
Original file line number Diff line number Diff line change 11{
22 "name" : " @ronilaukkarinen/focus" ,
3- "version" : " 1.7.3 " ,
3+ "version" : " 1.7.4 " ,
44 "description" : " Focus is a flexible command-line productivity timer with flow mode for uninterrupted work sessions" ,
55 "main" : " " ,
66 "repository" : " https://github.com/ronilaukkarinen/focus" ,
Original file line number Diff line number Diff line change @@ -143,25 +143,19 @@ func (t *Timer) timerView() string {
143143 )
144144 s .WriteString ("\n " )
145145
146- // Task name on its own line with wrapping
147- s .WriteString (
148- lipgloss .NewStyle ().
149- Foreground (lipgloss .Color ("#B0DB43" )). // Neon green
150- Width (maxWidth ).
151- SetString (t .taskName ).
152- String (),
153- )
146+ // Task name on its own line - use Render instead of SetString for proper wrapping
147+ taskStyle := lipgloss .NewStyle ().
148+ Foreground (lipgloss .Color ("#B0DB43" )). // Neon green
149+ MaxWidth (maxWidth )
150+ s .WriteString (taskStyle .Render (t .taskName ))
154151 s .WriteString ("\n " )
155152
156153 // Task description if provided
157154 if t .taskDescription != "" {
158- s .WriteString (
159- lipgloss .NewStyle ().
160- Foreground (lipgloss .Color ("#888888" )). // Light gray
161- Width (maxWidth ).
162- SetString (t .taskDescription ).
163- String (),
164- )
155+ descStyle := lipgloss .NewStyle ().
156+ Foreground (lipgloss .Color ("#888888" )). // Light gray
157+ MaxWidth (maxWidth )
158+ s .WriteString (descStyle .Render (t .taskDescription ))
165159 s .WriteString ("\n " )
166160 }
167161
You can’t perform that action at this time.
0 commit comments