Change focus back to messages TextView when Escape is pressed
This commit is contained in:
parent
fa8d01d5fc
commit
3a7e0b4c82
1 changed files with 3 additions and 1 deletions
|
|
@ -220,7 +220,9 @@ func onMessagesTextViewInputCapture(app *App, e *tcell.EventKey) *tcell.EventKey
|
|||
AddItem("Copy Content", "", 'c', nil).
|
||||
AddItem("Copy ID", "", 'i', nil).
|
||||
SetDoneFunc(func() {
|
||||
app.SetRoot(app.MainFlex, true)
|
||||
app.
|
||||
SetRoot(app.MainFlex, true).
|
||||
SetFocus(app.MessagesTextView)
|
||||
}).
|
||||
SetSelectedFunc(func(_ int, mainText string, _ string, _ rune) {
|
||||
onMessageActionsListSelected(app, mainText, m)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue