1
0
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:
Sean Smith
2019-05-09 10:59:04 -04:00
parent e6a55d5a7b
commit a5f98c138a
5 changed files with 6 additions and 5 deletions

View File

@@ -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,