refactor key bindings

This commit is contained in:
Dmitry Vasilev
2022-10-25 04:43:35 +08:00
parent 6a0a01c126
commit 6a11e1d0d8
5 changed files with 28 additions and 52 deletions

View File

@@ -23,6 +23,10 @@ export class CallTree {
// Do not scroll
e.preventDefault()
if(e.key == 'Escape') {
this.ui.editor.focus()
}
if(e.key == 'F1') {
this.ui.editor.focus_value_explorer(this.container)
}