Skip to content

Commit

Permalink
feat(plc4xbrowser): set focus on ctrl+c
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed Aug 8, 2022
1 parent c142f78 commit 1e2b13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plc4go/tools/plc4xbrowser/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e2b13b

Please sign in to comment.