Refactor redundant modification of default properties
This commit is contained in:
parent
b7de6b4d31
commit
cc29b2426e
1 changed files with 0 additions and 2 deletions
|
|
@ -9,9 +9,7 @@ import (
|
|||
func NewMessagesTextView(onMessagesTextViewChanged func(), theme *util.Theme) (messagesTextView *tview.TextView) {
|
||||
messagesTextView = tview.NewTextView().
|
||||
SetDynamicColors(true).
|
||||
SetWrap(true).
|
||||
SetWordWrap(true).
|
||||
SetScrollable(true).
|
||||
ScrollToEnd().
|
||||
SetChangedFunc(onMessagesTextViewChanged)
|
||||
messagesTextView.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue