Skip to content

Commit

Permalink
Fix match nothing regex
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed Feb 11, 2022
1 parent 5f1cea5 commit f22290e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/hosts.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var colorPattern *regexp.Regexp

func init() {
// Shady patch to disable color pattern matching in tview
colorPattern = regexp.MustCompile(``)
colorPattern = regexp.MustCompile(`$^`)

// Set focused border style to be the same as unfocused
tview.Borders.HorizontalFocus = tview.Borders.Horizontal
Expand Down

0 comments on commit f22290e

Please sign in to comment.