mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Hack to fix a unicode rendering issue in iTerm
This commit is contained in:
committed by
Chris Cummer
parent
da27ad60a9
commit
31e17da358
@@ -18,7 +18,7 @@ type Widget struct {
|
||||
|
||||
func NewWidget() *Widget {
|
||||
widget := Widget{
|
||||
TextWidget: wtf.NewTextWidget("Security", "security"),
|
||||
TextWidget: wtf.NewTextWidget(" 🤺 Security ", "security"),
|
||||
}
|
||||
|
||||
widget.addView()
|
||||
@@ -36,7 +36,6 @@ func (widget *Widget) Refresh() {
|
||||
data := NewSecurityData()
|
||||
data.Fetch()
|
||||
|
||||
widget.View.SetTitle(" 🤺 Security ")
|
||||
widget.RefreshedAt = time.Now()
|
||||
|
||||
widget.View.Clear()
|
||||
|
||||
Reference in New Issue
Block a user