Преглед на файлове

Use correct key name for escape

ayntgl преди 4 години
родител
ревизия
5e0a7d57f6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      ui/handlers.go

+ 1 - 1
ui/handlers.go

@@ -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("")