mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Set Twitter Stats wrap to false (#745)
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -32,6 +32,7 @@ func (widget *TextWidget) TextView() *tview.TextView {
|
||||
func (widget *TextWidget) Redraw(data func() (string, string, bool)) {
|
||||
widget.app.QueueUpdateDraw(func() {
|
||||
title, content, wrap := data()
|
||||
|
||||
widget.View.Clear()
|
||||
widget.View.SetWrap(wrap)
|
||||
widget.View.SetTitle(widget.ContextualTitle(title))
|
||||
|
||||
Reference in New Issue
Block a user