You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2022/08/08 16:00:30 UTC
[plc4x] 01/04: feat(plc4xbrowser): set focus on ctrl+c
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 1e2b13b23891ea9d4b816168daa93b7f46a51ea5
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Mon Aug 8 17:59:04 2022 +0200
feat(plc4xbrowser): set focus on ctrl+c
---
plc4go/tools/plc4xbrowser/ui.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/plc4go/tools/plc4xbrowser/ui.go b/plc4go/tools/plc4xbrowser/ui.go
index 230606a6d..d4a5f4619 100644
--- a/plc4go/tools/plc4xbrowser/ui.go
+++ b/plc4go/tools/plc4xbrowser/ui.go
@@ -136,6 +136,7 @@ func buildCommandArea(newPrimitive func(text string) tview.Primitive, applicatio
switch event.Key() {
case tcell.KeyCtrlC:
commandInputField.SetText("")
+ application.SetFocus(commandInputField)
return nil
}
return event