Use correct key name for escape

This commit is contained in:
ayntgl 2022-01-25 00:08:24 +04:00
parent 7af3cf17cd
commit 5e0a7d57f6

View file

@ -313,7 +313,7 @@ func onMessageInputFieldInputCapture(app *App, e *tcell.EventKey) *tcell.EventKe
text = app.MessageInputField.GetText() + text
app.MessageInputField.SetText(text)
return nil
case "Escape":
case "Esc":
app.MessageInputField.SetText("")
app.MessageInputField.SetTitle("")