mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Move closing region tag to the end of the line
Highlight works by highlighting the entire region that exists Since current region starts and immediately ends, there is no highlighting
This commit is contained in:
@@ -114,7 +114,7 @@ func (widget *Widget) contentFrom(stories []Story) string {
|
||||
for idx, story := range stories {
|
||||
u, _ := url.Parse(story.URL)
|
||||
str = str + fmt.Sprintf(
|
||||
`["%d"][""][%s] [yellow]%d. [%s]%s [blue](%s)`,
|
||||
`["%d"][%s] [yellow]%d. [%s]%s [blue](%s)[""]`,
|
||||
idx,
|
||||
widget.rowColor(idx),
|
||||
idx+1,
|
||||
|
||||
Reference in New Issue
Block a user