Use correct key name for escape
This commit is contained in:
parent
7af3cf17cd
commit
5e0a7d57f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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("")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue