Преглед изворни кода

feat(ui/chat): redraw attachments picker immediately on open

ayn2op пре 1 месец
родитељ
комит
80bcadcadb
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      internal/ui/chat/messages_list.go

+ 1 - 1
internal/ui/chat/messages_list.go

@@ -883,7 +883,7 @@ func (ml *messagesList) HandleEvent(event tcell.Event) tview.Command {
 			return nil
 		case keybind.Matches(event, ml.cfg.Keybinds.MessagesList.Open.Keybind):
 			ml.open()
-			return nil
+			return redraw
 		case keybind.Matches(event, ml.cfg.Keybinds.MessagesList.Reply.Keybind):
 			ml.reply(false)
 			return redraw