diff --git a/ui/select_channel.go b/ui/select_channel.go index 70ffd81..ec9d352 100644 --- a/ui/select_channel.go +++ b/ui/select_channel.go @@ -24,8 +24,9 @@ func (v *View) inputDone(key tcell.Key, resultStrs []string, input *tview.InputF func (v *View) showChannelSelector() { input := tview.NewInputField(). SetPlaceholder("Select channel"). - SetFieldBackgroundColor(tcell.ColorGold). - SetFieldTextColor(tcell.ColorBlack) + SetFieldBackgroundColor(tcell.ColorBlack). + SetFieldTextColor(tcell.ColorWhite) + //SetFieldTextColor(tcell.ColorBlack).SetFieldTextColor(tcell.ColorBlack) input.SetAutocompleteFunc( func(currentText string) []string { diff --git a/ui/ui.go b/ui/ui.go index 0c4f420..a62f643 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -80,18 +80,14 @@ func (v *View) Start() { channelName := v.GetCurrentChannel() _, channel := v.getChannelByName(channelName) - v.app.QueueUpdateDraw(func() { - channel.Scroll(-10) - }) + channel.Scroll(-10) } if event.Key() == tcell.KeyPgDn { channelName := v.GetCurrentChannel() _, channel := v.getChannelByName(channelName) - v.app.QueueUpdateDraw(func() { - channel.Scroll(10) - }) + channel.Scroll(10) } return event